curl -i -X POST \
'https://api.equalsmoney.com/v2/payment-batches?accountId=F50091' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-H 'requestid: string' \
-d '{
"name": "John Frank",
"visible": true,
"payments": {
"defaultFundingBudgetId": "771967a7-f0f7-4137-a6bf-494452ba6549",
"rows": [
{
"amount": "10",
"currencyCode": "USD",
"fundingBudgetId": "6ee672f6-226f-4a72-8592-0f8dc5284ab1",
"purposeCode": "BKF",
"purpose": "Funding my own account",
"reference": "Paying my savings account",
"recipient": {
"id": "8lqccfgmo",
"defaultReference": "Paying my savings account",
"type": "individual",
"name": "John Frank",
"displayName": "Electrician",
"subscribedEmails": [
{
"name": "John",
"email": "user@example.com"
}
],
"accountIdentifier": "GB95SPPV23188424911122",
"bankIdentifier": "SPPVGB2LXXX",
"intermediaryBankIdentifier": "QBLCCCCV",
"paymentNetwork": "SWIFT",
"address": {
"addressType": "ADDR",
"streetName": "High St",
"buildingNumber": "10",
"buildingName": "Abram",
"postcode": "SW1A 1AA",
"city": "London",
"region": "South West",
"countryCode": "GB"
},
"bankAddress": {
"countryCode": "GB"
}
}
}
]
}
}'