Create international recipient
Create a recipient for international bank transfers. The data fields are specific to the transfer corridors. Please refer to the Schema section for the details.
Query parameters
-
Payment method (e.g., LOCAL, SWIFT)
Values are
LOCALorSWIFT. -
Destination currency code
-
Destination country code
POST
/recipients/international
curl \
--request POST 'https://bank.bank.place/recipients/international?payoutMethod=LOCAL¤cyCode=VND&countryCode=VN' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "Workspace-ID: 42" \
--data '{"data":{"beneficiaryName":"John Doe","routingCodeType1":"SWIFT","routingCodeValue1":"BFTVVNVX","beneficiaryAddress":"Street address","destinationCountry":"VN","beneficiaryAccountType":"Individual","beneficiaryCountryCode":"VN","beneficiaryAccountNumber":"190281938"},"alias":"","saved":true}'
Request example
{
"data": {
"beneficiaryName": "John Doe",
"routingCodeType1": "SWIFT",
"routingCodeValue1": "BFTVVNVX",
"beneficiaryAddress": "Street address",
"destinationCountry": "VN",
"beneficiaryAccountType": "Individual",
"beneficiaryCountryCode": "VN",
"beneficiaryAccountNumber": "190281938"
},
"alias": "",
"saved": true
}
Response examples (201)
{
"accountCode": "string",
"alias": "string",
"createdAt": "string",
"edges": {
"bank": {
"countryCode": "string",
"createdAt": "string",
"id": 42,
"name": "string",
"swiftCode": "string",
"updatedAt": "string"
},
"beneficiary": {
"createdAt": "string",
"data": {},
"id": 42,
"updatedAt": "string"
},
"currency": {
"code": "string",
"createdAt": "string",
"decimals": 42,
"id": 42,
"name": "string",
"swiftMinimumWithdrawalAmount": "string",
"symbol": "string",
"updatedAt": "string"
}
},
"id": 42,
"name": "string",
"saved": true,
"updatedAt": "string"
}
Response examples (400)
{
"message": "Invalid request parameters",
"errorCode": "invalid_request"
}
Response examples (401)
{
"message": "Invalid request parameters",
"errorCode": "invalid_request"
}