Skip to main content

pay.toAccount

POST 

/processing

Send domestic and cross-border payments to bank accounts.

note

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.typeto.recipient.typePayment type
IndividualIndividualP2P (person to person)
IndividualLegalEntityP2B (person to business)
LegalEntityIndividualB2P (business to person)
LegalEntityLegalEntityB2B (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​

This code is returned if the response is successful (and a specific response is required). A Response object is returned in the response.