curl --request POST \
--url https://api.cadanapay.com/v1/sandbox/business-deposits \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"value": {
"amount": 10000,
"currency": "USD"
},
"description": "Payroll 10/10"
}
'{
"code": "invalid_request_body",
"message": "The request body provided is not valid",
"params": {
"field": "Value is invalid."
}
}Add funds to a business for payroll
curl --request POST \
--url https://api.cadanapay.com/v1/sandbox/business-deposits \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"value": {
"amount": 10000,
"currency": "USD"
},
"description": "Payroll 10/10"
}
'{
"code": "invalid_request_body",
"message": "The request body provided is not valid",
"params": {
"field": "Value is invalid."
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful operation