curl --request POST \
--url https://sandbox.hurdlr.com/rest/v5/payouts/payout \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: */*' \
--data '
{
"payout": {
"bankTransferId": 123,
"status": "ACTIVE",
"type": "CONFIRMED",
"amount": 50.01,
"date": "2021-01-04",
"description": "Online Banking payment",
"creditAccountId": 123,
"debitAccountId": 123,
"apiTransactionId": "<string>",
"bankAccountId": 123,
"bankDescription": "<string>",
"apiAccountNo": "<string>",
"apiAccountName": "Citi Premier® Card",
"apiInstitutionId": "<string>",
"matchingBankTransferId": 123,
"customData": {},
"transactions": [
{
"entity": "EXPENSE",
"entityId": 123,
"status": "ACTIVE",
"amount": 123,
"date": "2023-11-07T05:31:56Z",
"bankAccountId": 123,
"description": "<string>",
"bankDescription": "<string>",
"apiTransactionId": "<string>",
"apiAccountId": "<string>",
"apiAccountNo": "<string>",
"apiAccountName": "Citi Premier® Card",
"apiInstitutionId": "<string>",
"customData": {}
}
]
}
}
'