Update Beneficiary
PUT /beneficiaries
Description
Update an existing beneficiary.
Path Parameters
| Name | Type | Description |
|---|---|---|
| None | No parameters |
Request Headers
| Name | Type | Description |
|---|---|---|
| countryCode | string | Country code of the beneficiary (required) |
| tenantId | string | Tenant identifier (required) |
| userId | string | User identifier (required) |
Request Body
- Content Type:
application/json
{
"uuId": "string",
"firstName": "string",
"lastName": "string",
"middleName": "string",
"beneficiaryTag": "string",
"phoneNumber": "string",
"bankName": "string",
"bankCode": "string",
"accountNumber": "string",
"accountId": "string",
"userId": "string",
"deleted": true,
"alias": "string"
}
Example
PUT /beneficiaries
Content-Type: application/json
countryCode: <countryCode>
tenantId: <tenantId>
userId: <userId>
{
"uuId": "string",
"firstName": "string",
"lastName": "string",
"middleName": "string",
"beneficiaryTag": "string",
"phoneNumber": "string",
"bankName": "string",
"bankCode": "string",
"accountNumber": "string",
"accountId": "string",
"userId": "string",
"deleted": true,
"alias": "string"
}
Response Code: 200 - OK Description
Successful.
Response Fields
Response Fields
| Name | Type | Description |
|---|---|---|
| status | boolean | Status of the response |
| statusCode | number | Status code of the response |
| message | string | Response message |
| data | object | Data |
| errors | array | List of errors |
{
"status": true,
"statusCode": 0,
"message": "string",
"data": {},
"errors": [
{
"message": "string",
"descriptiveMessage": "string"
}
]
}
Example
{
"status": true,
"statusCode": 0,
"message": "string",
"data": {},
"errors": [
{
"message": "string",
"descriptiveMessage": "string"
}
]
}
Method: PUT
>http://20.87.230.105/platform/wallets/beneficiaries
Headers
| Content-Type | Value |
|---|---|
| Content-Type | application/json |
| countryCode | <countryCode> |
| tenantId | <tenantId> |
| userId | <userId> |
Body
{
"uuId": "string",
"firstName": "string",
"lastName": "string",
"middleName": "string",
"beneficiaryTag": "string",
"phoneNumber": "string",
"bankName": "string",
"bankCode": "string",
"accountNumber": "string",
"accountId": "string",
"userId": "string",
"deleted": true,
"alias": "string"
}
🔑 Authentication bearer
| Param | Value | Type |
|---|---|---|
| token | {{accessCode}} | string |
LANGUAGE
CURL REQUEST
curl --request PUT \
--url /beneficiaries \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!