Add Settlement Account
PATCH /api/v1/users/:userId/tenants/:tenantId/settlement-account
Description
Add a settlement account for a user.
Headers:
-
Content-Type: application/json
-
Authorization:
Bearer {{bearerToken}} -
Body: A JSON object containing information about the settlement account, including
userId,bankName,bankCode,accountName,accountNumber, andactionBy.
URL: /api/v1/users/:userId/tenants/:tenantId/settlement-account
Path Parameters:
userId(Required): User IDtenantId(Required): Tenant ID
Response: The response is "OK" with a code of 200.
/api/v1/users/:userId/tenants/:tenantId/settlement-account
Headers
| Content-Type | Value |
|---|---|
| Content-Type | application/json |
Body (raw)
{
"userId": "<string>",
"bankName": "<string>",
"bankCode": "<string>",
"accountName": "<string>",
"accountNumber": "<string>",
"actionBy": "<string>"
}
🔑 Authentication bearer
| Param | value | Type |
|---|---|---|
| token | bearerToken | string |
Response: 200
LANGUAGE
CURL REQUEST
curl --request PATCH \
--url /api/v1/users/:userId/tenants/:tenantId/settlement-account \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!