Step 3: find a recipient
Since you've got a new recipient, let's try retrieving their details using the following request.
SandboxProduction
curl -i -X GET \
'https://api-sandbox.equalsmoney.com/v2/recipients/{recipientId}?accountId={accountId}' \
-H 'Authorization: ApiKey {apiKey}'
curl -i -X GET \
'https://api.equalsmoney.com/v2/recipients/{recipientId}?accountId={accountId}' \
-H 'Authorization: ApiKey {apiKey}'
If your request is successful, you'll receive a 200
response.
{
"accountId": "F12345",
"accountIdentifier": "PK94XAOM0400102322019126",
"bankIdentifier": "QBLCCCCV",
"schemeName": "UK.OBIE.IBAN",
"id": "8lciyups6",
"name": "William Walker",
"friendlyName": "Electrician",
"intermediaryBankIdentifier": "QBLCCCCV",
"paymentPurposeCode": "BKFE",
"email": "william.walker@example.com",
"defaultPurpose": "string",
"currency": "USD",
"verificationMethod": "phone",
"recipientAddress": {
"country": "GB",
"address": "41 Middle Street",
"city": "Enfield",
"postcode": "EN1 3JY"
},
"bankAddress": {
"bankName": "Brilliant Bank",
"fullBankName": "Brilliant Bank PLC.",
"country": "GB",
"address": "19 High Street",
"city": "Manchester",
"postcode": "M23 2UB"
}
}