pay.toAccount
POST/processing
Send domestic and cross-border payments to bank accounts.
This specification outlines the generic request structure for the API. Developers should note that cross-border data requirements for bank account transfers are subject to frequent regulatory changes. Implementation requirements differ based on destination market, payment type, and local banking regulations. Use this documentation as a baseline specification for development planning. For current implementation requirements specific to your target markets, consult with the Paysend Product or Implementation team before beginning integration.
Payment type
The payment type describes which kind of entity sends the money and which kind of entity
receives it. It is not part of the request: Paysend calculates it from the entity types of
the sender and the recipient (from.sender.type and to.recipient.type):
from.sender.type | to.recipient.type | Payment type |
|---|---|---|
Individual | Individual | P2P (person to person) |
Individual | LegalEntity | P2B (person to business) |
LegalEntity | Individual | B2P (business to person) |
LegalEntity | LegalEntity | B2B (business to business) |
G2P (government to person) is not supported for pay.toAccount. A paymentType field
sent in the request is ignored: it does not influence the processing and, apart from the
standard JSON schema check that it is a string, is not validated or rejected.
Request
Responses
- 200
- 400
- 401
- 404
This code is returned if the response is successful (and a specific response is required). A Response object is returned in the response.
This code is returned if there is an issue in the request and an Error object is returned in the response.
That code is returned by system if the Signature or other partner information is incorrect.
This code is returned if the system cannot process the request now. If this code is received, a repeat request is submitted after a few seconds. If the code continues to be returned, this is escalated to the Support team. The system will return a response body with the text Sorry. Can't accept your request now..