Create a Connect balance transfer
This API endpoint allows you to create a balance transfer from your organization's balance to a connected organization's balance, or vice versa. You can also create a balance transfer between two connected organizations. To create a balance transfer, you must be authenticated as the source organization, and the destination organization must be a connected organization that has authorized the balance-transfers.write scope for your organization.
Headers
A unique key to ensure idempotent requests. This key should be a UUID v4 string.
Request body
Example request
{
"resource": "connect-balance-transfer",
"id": "cbtr_j8NvRAM2WNZtsykpLEX8J",
"amount": {
"currency": "EUR",
"value": "10.00"
},
"source": {
"type": "organization",
"id": "org_1234567",
"description": "Invoice fee"
},
"destination": {
"type": "organization",
"id": "org_1234567",
"description": "Invoice fee"
},
"description": "Invoice fee",
"status": "created",
"statusReason": {
"code": "insufficient_funds",
"message": "Insufficient funds in the source balance."
},
"category": "invoice_collection",
"metadata": {
"order_id": 12345,
"customer_id": 9876
},
"createdAt": "2024-03-20T09:13:37+00:00",
"executedAt": "2024-03-20T09:28:37+00:00",
"mode": "live"
}Response
The balance transfer object.
Changes
Changed in 2 of the 92 revisions of this API.3
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ○
the endpoint scheme security
advancedAccessTokenwas added to the APIapi-security-added
- ○
the endpoint scheme security
organizationAccessTokenwas removed from the APIapi-security-removed
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
Of the 92 revisions, 9 have no diff computed.