Disbursement Initialization
Endpoint: POST /api/disbursement/init/{customer_key}
Request body:
| Field | Required | Type | Description |
|---|---|---|---|
| return_url | ✅ | string (url) | Redirect URL after disbursement |
| contract_id | If contract_name is not specified | int | ID of the open contract |
| contract_name | If contract_id is not specified | string | Number of the open contract |
Response:
json
{
"status": "ok",
"timestamp": "1646916652000",
"data": {
"url": "" // Link to the disbursement form.
}
}