View beneficiary Contact details
Returns details of the stored Contact
Endpoint
Request Type | URL |
|---|---|
GET | https://{EnvironmentURL}/contacts/customers/{customerId}/contacts/{id} |
Headers
No headers
Request parameters
Parameter | Type | Mandatory | Description |
|---|---|---|---|
Id | uuid | Yes | Identifier of the Contact |
customerId | uuid | Yes | Identifier of the Customer, owner of the Contact |
Responses
200 OK - Success
Body - JSON
Parameter | Type | Mandatory | Description |
|---|---|---|---|
contactId | uuid | Yes | Identifier of the contact |
accountId | uuid | Yes | Identifier of the Account in case if Beneficiary is a Customer of Digidoe |
type | string | Yes | Type of the Beneficiary Allowed values:
|
currency | string | Yes | Code of the Currency of the Beneficiary Account Allowed values:
|
accountHolderName | string | Yes | Name of Beneficiary |
details | object | Yes | Beneficiary Account details |
iban | string | Conditional | Beneficiary Account IBAN Mandatory only in case of "type" = 'IBAN' (for SEPA) |
sortCode | string | Conditional | Beneficiary Account Sort Code Applicable only in case of type = 'sort_code (for Faster Payments) |
accountNumber | string | Conditional | Beneficiary Account Number Applicable only in case of type = 'sort_code (for Faster Payments) |
legalType | string | Yes | Legal type of Beneficiary Allowed values:
|
address | object | Yes | Address of the Beneficiary |
address.country | string | Yes | Name of the Country |
address.countryCode | string | Yes | ISO 3166-1 alpha-2 code of the Country |
address.state | string | No | State, if applicable for Country |
address.city | string | Yes | Name of the City |
address.postcode | string | No | Postcode |
address.firstline | string | Yes | Address line |
400 Bad request
Invalid format of the request
401 - Unauthorized
No Body