post
https://secure.easysendglobal.com/deals/payout
This endpoint creates a new payout deal, initiating a transfer of funds to a specified recipient.
The deal requires details such as the currency, amount, and recipient information.
Upon success, a response containing the deal ID and status will be returned.
Ensure that all required fields are included in the request body.
400Invalid request, typically due to a missing or malformed parameter.
Example response:
{
"error": "ERROR_ACCESS_TOKEN_INVALID",
"message": "Access token is invalid.",
"statusCode": 400
}
400Invalid request, typically due to a missing or malformed parameter.
Example response:
{
"error": "ERROR_ACCESS_TOKEN_INVALID",
"message": "Access token is invalid.",
"statusCode": 400
} 401Authentication failed. This may happen due to the following reasons:
- Authentication is required but not provided.
- The access token has expired.
Example response:
{
"error": "ERROR_TOKEN_EXPIRED",
"message": "Access token has expired.",
"statusCode": 401
}
401Authentication failed. This may happen due to the following reasons:
- Authentication is required but not provided.
- The access token has expired.
Example response:
{
"error": "ERROR_TOKEN_EXPIRED",
"message": "Access token has expired.",
"statusCode": 401
} 409Conflict occurred because a deal with the same invoice ID already exists.
Example response:
{
"error": "DEAL_ALREADY_EXISTS",
"message": "Deal with same invoiceId already exists.",
"statusCode": 409
}
409Conflict occurred because a deal with the same invoice ID already exists.
Example response:
{
"error": "DEAL_ALREADY_EXISTS",
"message": "Deal with same invoiceId already exists.",
"statusCode": 409
}