Update customer details recipient
PATCH
/v3/customers/{merchantCustomerId}/withdrawals/dragon/{id}Updates customer's cryptocurrency recipient (one customer each time). It is possible to update wallets supported by ZEN only. Customer has to initiate the cryptocurrency recipient updating process. It is possible to update: wallet address, wallet currency and wallet alias.
Request
Path Params
merchantCustomerId
string <uuid>
required
An unique customer external identifier
Example:
3fa85f64-5717-4562-b3fc-2c963f66afa6
id
string <uuid>
required
An unique identifier
Example:
3fa85f64-5717-4562-b3fc-2c963f66afa6
Header Params
request-id
string
required
A unique identifier generated by requesting client
>= 38 characters<= 1024 characters
Example:
|us04oqdnzFQVr0rITD9/c9OvDRE2sXVfwerv.
Match pattern:
^[a-zA-Z0-9?&:_|\-\/=+.,#\s]+$
Body Params application/json
merchantId
string
optional
>= 1 characters<= 32 characters
customerId
string <uuid>
optional
>= 1 characters<= 64 characters
firstTransactionId
string <uuid>
optional
walletAddress
string
required
>= 1 characters<= 512 characters
walletCurrency
string
required
>= 1 characters<= 16 characters
walletAlias
string | null
required
>= 1 characters<= 128 characters
verificationStatus
string | null
optional
<= 32 characters
verificationDate
string | null
optional
status
enum<string> | enum<null>
optional
<= 32 characters
Allowed values:
verifiedunverifiedexpiredinvalidpending
Example
{
"merchantId": "string",
"customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
"firstTransactionId": "03056aca-c5f2-4f6b-a174-27e4af663155",
"walletAddress": "string",
"walletCurrency": "string",
"walletAlias": "string",
"verificationStatus": "string",
"verificationDate": "string",
"status": "verified"
}
Request samples
Responses
OK(200)
Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
id
string <uuid>
required
customerId
string <uuid>
required
>= 1 characters<= 64 characters
transactionType
string
required
<= 16 characters
firstTransactionId
string <uuid>
optional
walletAddress
string
required
>= 1 characters<= 512 characters
walletCurrency
string
required
>= 1 characters<= 16 characters
walletAlias
string
required
>= 1 characters<= 128 characters
verificationStatus
string
optional
<= 32 characters
verificationDate
string
optional
status
enum<string>
required
<= 32 characters
Allowed values:
verifiedunverifiedexpiredinvalidpending
createdAt
string <date-time>
required
Example
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
"transactionType": "string",
"firstTransactionId": "03056aca-c5f2-4f6b-a174-27e4af663155",
"walletAddress": "string",
"walletCurrency": "string",
"walletAlias": "string",
"verificationStatus": "string",
"verificationDate": "string",
"status": "verified",
"createdAt": "2019-08-24T14:15:22.123Z"
}
Modified at 10 days ago