pay.toAccount
Template for payload model
info
See the full example in the Endpoints
{
"from": {
"sender": {
"address": {
"addressLine1": "123 Main St",
"addressLine2": "Apt 4B",
"city": "New York",
"country": "US",
"countrySubdivision": "NY",
"zip": 12345
},
"email": "john.doe@example.com",
"phone": 5551234567,
"governmentId": {
"type": "SocialSecurityNumber",
"number": 1234567890,
"issuingCountry": "GB",
"issueDate": "2023-05-05",
"expirationDate": "2026-01-01"
},
"type": "LegalEntity",
"name": "Compa",
"countryOfBirth": "EC",
"dateOfEncorporation": "1982-02-02",
"placeOfBirth": "Los Angeles",
"occupation": "tourist",
"senderRelationshipWithBeneficiary": "brother",
"nationality": "US",
"senderAccount": {
"identifierType": "BAN",
"accountIdentifier": "GB82WEST12345698765432",
"accountType": "checking",
"accountName": "GB82WE",
"bic": "ABCDGB2L",
"bankCode": "A",
"bankCodeType": "default",
"branchCode": "B",
"branchName": "London",
"bankName": "London",
"country": "US",
"currency": "USD",
"provider": "paypal"
}
},
"sourceTransactionInstrument": {
"identifierType": "PrepaidAccount",
"accountIdentifier": "52eab379-0bfe-4e04-9285-75fff9085765",
"currency": "USD"
}
},
"to": {
"destinationTransactionInstrument": {
"identifierType": "BAN",
"accountIdentifier": "GB82WEST12345698765432",
"accountType": "checking",
"accountName": "GB82WE",
"bic": "ABCDGB2L",
"bankCode": "A",
"bankCodeType": "default",
"branchCode": "B",
"branchName": "Berlin",
"bankName": "Berlin",
"country": "EC",
"currency": "USD",
"provider": "paypal"
},
"recipient": {
"address": {
"addressLine1": "123 Business Blvd",
"addressLine2": "Suite 200",
"city": "Metropolis",
"country": "US",
"countrySubdivision": "CA",
"zip": 6390
},
"type": "Individual",
"firstName": "Tome",
"middleName": null,
"lastName": "Tomen",
"dateOfBirth": "1980-01-01",
"countryOfBirth": "EC",
"placeOfBirth": "Los Angeles",
"occupation": "securityGuard",
"nationality": "US",
"phone": 5551234567,
"governmentId": {
"type": "NationalPassport",
"number": 1234567890,
"issuingCountry": "GB",
"issueDate": "2023-05-05",
"expirationDate": "2026-01-01"
},
"email": "tome@example.com"
}
},
"transferAmount": 100,
"transferCurrency": "USD",
"purposeOfPayment": "ISCCRD",
"sourceOfFunds": "salary",
"paymentType": "B2P",
"invoiceId": "invoiceId",
"comment": "This is the test payment!"
}
Possible values of transferAmount
- Any for the successful response
- 1000
- 2000
- 3008
- 4003
- 4006
- 4007
- 4008
- 4009
- 4010
- 4011
- 4012
- 4013
- 4014
- 4015
- 4016
- 4017
- 4018
- 9999