Skip to content

Get a payee

Request

Payees (previously "beneficiaries"). Retrieves a payee identified by the id path parameter.

Security
auth_token and api-key
Path
idstring^[0-9]+$required

The unique identifier of a payee.

curl -i -X GET \
  'https://sandbox.weavr.io/multi/beneficiaries/{id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'api-key: YOUR_API_KEY_HERE'

Responses

Success

Headers
request-refstringrequired

A request identifier. Providing this reference when contacting our support team will help us investigate your query.

Bodyapplication/json
trustLevelstring(BeneficiaryTrustLevel)required

The value that determines whether a Beneficiary is trusted or not.

Value:"TRUSTED"
externalRefsArray of strings

The id of the entity as it is represented on the caller system.

groupstring, <= 150 characters

A custom field that can be used to categorise a beneficiary for easier searching and filtering.

beneficiaryInformationBusinessBeneficiaryType (object) or ConsumerBeneficiaryType (object)required
One of:

The object representing the beneficiary details.

beneficiaryDetailsInstrumentDetailsBeneficiary (object) or BankAccountDetailsBeneficiary (object)required
One of:

Represents a Weavr beneficiary instrument typically used in Send transactions.

idstring^[0-9]+$required

The unique identifier of a Beneficiary.

relatedOperationBatchesArray of objects(BeneficiaryOperationBatchId)required

The object representing the list of batch IDs and the operations that occurred for each batch.

statestring(BeneficiaryState)required
Enum:"INITIALISED""INVALID""PENDING_CHALLENGE""CHALLENGE_FAILED""ACTIVE""REMOVED"
validationFailurestring(BeneficiaryValidationFailure)
Enum:"INSTRUMENT_DETAILS_NOT_FOUND""BENEFICIARY_DETAILS_ALREADY_EXIST""BENEFICIARY_BELONGS_TO_SAME_IDENTITY"
Response
{ "trustLevel": "TRUSTED", "externalRefs": [ "string" ], "group": "string", "beneficiaryInformation": { "businessName": "string" }, "beneficiaryDetails": { "instrument": { … } }, "id": "string", "relatedOperationBatches": [ { … } ], "state": "INITIALISED", "validationFailure": "INSTRUMENT_DETAILS_NOT_FOUND" }