Get beneficiary by id

View as Markdown
### Get Beneficiary Details This endpoint retrieves the details of a specific beneficiary identified by the `beneficiaryId`. #### Request Parameters - `beneficiaryId` (path parameter): The unique identifier for the beneficiary whose details are being requested. Response body | Field | Type | Description | | --- | --- | --- | | `id` | string | Identifier of the beneficiary | | `merchantId` | string | merchantId | | `customerId` | string | customer id | | `type` | string | Beneficiary type: `INDIVIDUAL` or `COMPANY`. | | `beneficiaryName` | string | A custom internal name for the beneficiary. Must be unique. | | `companyInfo` | object | Information about the company beneficiary. | | └─ `name` | string | Company name. | | └─ `registrationNumber` | string | Company registration number. | | └─ `incorporationCountry` | string | Country where the company was incorporated. | | └─ `email` | string | Email address of the beneficiary company. | | └─ `phoneCountryCode` | string | Phone number country code (e.g., `+84`). | | └─ `phoneNumber` | string | Phone number | | └─ `addressCountry` | string | Country of the beneficiary address. | | └─ `addressZipCode` | string | ZIP/postal code. | | └─ `addressCity` | string | City of the address. | | └─ `addressStreet` | string | Street name and number. | | └─ `addressState` | string | State/province of the address. | | └─ `addressLocation` | string | Additional address info (e.g., suite, building). | | `firstName` | string | First name of the contact person or individual beneficiary. | | `lastName` | string | Last name of the contact person or individual beneficiary. | | `dob` | string | Date of birth (format: `YYYY-MM-DD`). Applicable for individuals. | | `email` | string | Email address of the beneficiary. | | `phoneCountryCode` | string | Phone number country code (e.g., `+84`). | | `phoneNumber` | string | Phone number. | | `addressCountry` | string | Country of the beneficiary address. | | `addressCity` | string | City of the address. | | `addressState` | string | State/province of the address. | | `addressZipCode` | string | ZIP/postal code. | | `addressStreet` | string | Street name and number. | | `addressLocation` | string | Additional address info (e.g., suite, building). | | `identificationType` | string | Type of ID document (e.g., `PASSPORT`, `NATIONAL_ID`). | | `identificationValue` | string | ID number or code. | | `identificationCustomType` | string | Custom identification type (used when `identificationType` is null). | | `description` | string | Free text description or note about the beneficiary. | | relationship | string | relationship with the customer | | accountInfo | object | account information | | └─ `accountType` | string | Account type, one of value: BANK, CARD, WALLET, PROXY, CASH | | └─ `accountNumber` | string | Account number of the beneficiary (may be null or optional for some PSPs). | | └─ `currency` | string | Transaction currency (e.g., `USD`, `SGD`). | | └─ `bankName` | string | Beneficiary bank name. | | └─ `bankCity` | string | Beneficiary bank city. | | └─ `bankCountry` | string | Beneficiary bank country. | | └─ `routingCodeType1` | string | Local payment routing system. If supplied, a value for routing_code_value_1 must also be supplied. <br>Enum: ABA <br>BSB <br>BIC_SWIFT <br>BANK_CODE <br>BRANCH_CODE <br>IFSC <br>IBAN <br>SORT_CODE | | └─ `routingCodeValue1` | string | The value for any routing system specified in routing_code_type_1. If supplied, a value for routing_code_type_1 must also be supplied. | | └─ `routingCodeType2` | string | Local payment routing system. If supplied, a value for routing_code_value_2 must also be supplied. <br>Enum: ABA <br>BSB <br>BIC_SWIFT <br>BANK_CODE <br>BRANCH_CODE <br>IFSC <br>IBAN <br>SORT_CODE | | └─ `routingCodeValue2` | string | The value for any routing system specified in routing_code_type_2. If supplied, a value for routing_code_type_2 must also be supplied. | | └─ `routingCodeType3` | string | Local payment routing system. If supplied, a value for routing_code_value_3 must also be supplied. <br>Enum: ABA <br>BSB <br>BIC_SWIFT <br>BANK_CODE <br>BRANCH_CODE <br>IFSC <br>IBAN <br>SORT_CODE | | └─ `routingCodeValue3` | string | The value for any routing system specified in routing_code_type_3. If supplied, a value for routing_code_type_3 must also be supplied. | | └─ `proxyType` | string | Proxy type for this payout are MOBILE, UEN or NRIC | | └─ `proxyValue` | string | Proxy values are dependent on proxy type | | └─ `intermediaryBicSwift` | string | SWIFT BIC associated to the Intermediary Agent | | └─ `payId` | string | NPP PayID (AU Specific) | | └─ `payIdType` | string | Mention the type of PayID,It takes values \["EMAIL, PHONE, ORG, ABN"\] | | `pspBeneficiaries` | object array | psp beneficiary info | | └─ `pspId` | string | Identifier of the Payment Service Provider (e.g., `finmo`). | | └─ `pspBeneficiaryId` | string | Identifier of the beneficiary in Payment Service | | └─ `createdAt` | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') | | | └─ `createdBy` | string | | | `createdAt` | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') | | | `createdBy` | `createdBy` | | | `updatedAt` | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') | | | `updatedBy` | string | |

Response

OK
idstringformat: "uuid"
typestring
emailstringformat: "email"
lastNamestring
createdAtdatetime
createdBystringformat: "uuid"
firstNamestring
updatedAtdatetime
updatedBystringformat: "uuid"
customerIdstringformat: "uuid"
merchantIdstringformat: "uuid"
accountInfoobject
addressCitystring
descriptionstring
phoneNumberstring
addressStatestring
relationshipstring
addressStreetstring
addressCountrystring
addressZipCodestring
addressLocationstring
beneficiaryNamestring
phoneCountryCodestring
pspBeneficiarieslist of objects