const options = {method: 'GET'};
fetch('https://api.dolfinai.co/organisations/{id}/payment-account/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"organisationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountId": "<string>",
"capabilities": {
"chargesEnabled": true,
"payoutsEnabled": true,
"detailsSubmitted": true,
"currentlyDue": [
"<string>"
],
"pastDue": [
"<string>"
],
"disabledReason": "<string>"
},
"enabledAt": "2023-11-07T05:31:56Z"
}Returns the current payment account status for the organisation. Refreshes from the payment provider when the stored status is not yet Active so the UI can reflect live onboarding progress without waiting for a webhook.
const options = {method: 'GET'};
fetch('https://api.dolfinai.co/organisations/{id}/payment-account/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"organisationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"accountId": "<string>",
"capabilities": {
"chargesEnabled": true,
"payoutsEnabled": true,
"detailsSubmitted": true,
"currentlyDue": [
"<string>"
],
"pastDue": [
"<string>"
],
"disabledReason": "<string>"
},
"enabledAt": "2023-11-07T05:31:56Z"
}Documentation Index
Fetch the complete documentation index at: https://docs.dolfinai.co/llms.txt
Use this file to discover all available pages before exploring further.
OK