Skip to main content

Retrieve a recipient’s details

GET /v2/recipients/{recipientId}

Request

Use this request to retrieve details about a given recipient, based on their recipientId.

Path parameters

string
required
The ID of the recipient that you want to retrieve details for.Allowable values: An existing recipientId

Query parameters

string
required
The ID of the account that you want to work with.Allowable values: An existing accountId (≤ 36 characters)

Response

If your request is successful, you’ll receive a 200 response.
For more detailed information about this request and its response, see the API reference.

List all recipients

GET /v2/recipients

Request

Use this request to retrieve a list of recipients associated with a given account.

Query parameters

string
required
The ID of the account that you want to retrieve a list of recipients for.Allowable values: An existing accountId (≤ 36 characters)
integer
The maximum number of results to return. For example, limit=25. By default, this is set to 100.Allowable values: [ 1 .. 1000 ]
integer
The number of items to skip before returning results. For example, offset=200. By default, this is set to 0.Allowable values: A valid integer
The term(s) to search for. You can use this to filter the results.Allowable values: A valid string
boolean
Whether or not to return deleted recipients.Allowable values: true, false
string
Filter recipients by status.Allowable values: AUTHORISED, PENDING, UNVERIFIED, REJECTED

Response

If your request is successful, you’ll receive a 200 response containing a list of people.
For more detailed information about this request and its response, see the API reference.

Delete a recipient

DELETE /v2/recipients/{recipientId}

Request

Use this request to permanently delete a recipient.

Path parameters

string
required
The ID of the recipient that you want to delete.Allowable values: An existing recipientId

Query parameters

string
required
The ID of the account that you want to work with.Allowable values: An existing accountId (≤ 36 characters)

Response

If your request is successful, you’ll receive a 200 response containing the updated details for this person.
For more detailed information about this request and its response, see the API reference.