Guides
Recipients
Text
GET /v1/recipients?search=&cursor=&limit= # recipients:read
GET /v1/recipients/{id} # recipients:read
POST /v1/recipients # recipients:write
DELETE /v1/recipients/{id} # recipients:writeJSON
{
"name": "Jane Contractor",
"payment_method": "BANK",
"country_code": "GB",
"currency": "GBP",
"sort_code": "231470",
"account_number": "28821822",
"receiver_type": "PRIVATE",
"address_line1": "1 Example Street",
"address_city": "London",
"address_postal_code": "EC1A 1BB"
}payment_method is BANK or E_WALLET. An e-wallet payee needs an email (or a @wisetag / phone, depending on the rail) and no name.
Recipients are validated by the same rules ekash uses, so one that is accepted here is payable. A duplicate is 409 recipient_already_exists.
Account identifiers come back masked, and only masked ("masked_iban": "GB29****1234"). The API can create a payee and pay one; it is never a way to read bank details back out.
ekash also saves a recipient automatically the first time a batch payment to it is sent — those come back with "source": "BATCH_PAYMENT".