The accountSummary and longAccountSummary fields can be used to represent the recipient's details in your UI. The displayFields array allows you to build a UI containing all the dynamic fields of a recipient individually. In order to use these fields, you would need to POST using the v1 endpoint to create the recipient account, and then GET using the v2 endpoint to retrieve these fields.
The v2 resource also includes the hash field that can be used to track recipient details changes. This is useful for re-running any validation checks your system performs on the recipient, for example against fraud engines. The hash will remain constant unless the recipient's name or information in the details object changes.
ID of the recipient. Use the returned id as sourceAccount to specify the refund recipient when creating transfers.
Account details (currency/type-specific). The keys present vary by currency route and recipient type (e.g., sort code, IBAN, SWIFT, email).
Map of key lookup fields on the account.
{ "accountNumberField": "accountNumber", "bankCodeField": "sortCode" }
Account hash for change tracking.
Lookup fields (key/label/value) for rendering a UI.
[ { "key": "details/sortCode", "label": "UK sort code", "value": "04-00-75" }, { "key": "details/accountNumber", "label": "Account number", "value": "37778842" } ]
Verification results for the recipient's details. Only populated for currencies with recipient verification enabled (CNY, KRW, INR, IDR, EUR). See the Recipient verification guides for how to handle these.
{ "id": 40000000, "creatorId": 41000000, "profileId": 30000000, "name": { "fullName": "John Doe", "givenName": null, "familyName": null, "middleName": null, "patronymicName": null, "cannotHavePatronymicName": null }, "currency": "GBP", "country": "GB", "type": "SortCode", "legalEntityType": "PERSON", "active": true, "details": { "reference": null, "sortCode": "040075", "accountNumber": "37778842", "hashedByLooseHashAlgorithm": "ad245621b974efa3ef870895c3wer419a3f01af18a8a5790b47645dba6304194" }, "commonFieldMap": { "accountNumberField": "accountNumber", "bankCodeField": "sortCode" }, "hash": "666ef880f8aa6113fa112ba6531d3ed2c26dd9fgbd7de5136bfb827a6e800479", "accountSummary": "(04-00-75) 37778842", "longAccountSummary": "GBP account ending in 8842", "displayFields": [ { "key": "details/sortCode", "label": "UK sort code", "value": "04-00-75" }, { "key": "details/accountNumber", "label": "Account number", "value": "37778842" } ], "isInternal": false, "ownedByCustomer": false, "confirmations": { "acceptedOutcomes": false, "acceptedAt": null, "quoteId": null, "outcomes": [ { … } ] } }