PaymentTokenID unbinding
- Endpoint:
POST /delSuffixStart2 - Tags: Collection Service /Payment Tokenization
Description
Note that the request address does not contain the interface description in brackets
Parameters
| Field | In | Type | Required | Constraints | Description |
|---|---|---|---|---|---|
sign | header | string | Yes |
Parameter Examples
sign:"FPFVT3o227JrFRbqu19boZCpVVTF9KznxyRawUmxpfXilHV/0yK46haPhAjNu1hPUMy7Vw/ILXhfzffNm4Fj0apWknlTY9OJxnSoQxS9BTFtc61tn5yV1q69x/kkBl82/qwg+XTJ4fOzy7Mar3VaC1E2PlDA6RkkKBUyNE6RYgsdB+Su7an4+4HVTNAnoe74WyvBgxTLMNg28igBTdqxaO3w/UBY6ObVp7vkqkQGdL1Y+HgmMYaAVwrM3+ALWGId0sJ+YqTY4WJ+0xCRGhaSnybiIjZsQEYyID68WNUfuavDLDsEhaMm/HfQvf5p0R1Ltovp3wwJnEbQcjY458iX5A=="
Request Body
Content-Type: application/json
| Field | Type | Required | Constraints | Description | Enum |
|---|---|---|---|---|---|
merchantId | string | Yes | maxLength: 30 | The unique mark assigned to the merchant by PayerMax | |
bizType | string | Yes | maxLength: 30 | Business code, this interface needs to pass in “removePaymentToken” | |
version | string | Yes | maxLength: 5 | API version. Current value: :2.6 | |
userId | string | Yes | maxLength: 64 | The user ID by the merchant, needs to ensure the uniqueness of each user | |
paymentTokenID | string | Yes | maxLength: 64 | PMMax token | |
removeReason | string | No | maxLength: 256 | Reason for removing |
Example
json
{
"merchantId": "SP10020321",
"bizType": "removePaymentToken",
"version": "2.6",
"userId": "102332",
"paymentTokenID": "PMTOKEN20220906143826136639700000000",
"removeReason": "remove token"
}Responses
200
| Field | Type | Required | Constraints | Description | Enum |
|---|---|---|---|---|---|
bizCode | string | Yes | maxLength: 10 | Return code | |
message | string | No | maxLength: 256 | Return message | |
data | object | Yes | Response body,It consists of common parameters and specific parameters,refer to the below【data parameters】 | ||
data.merchantId | string | Yes | maxLength: 30 | Merchant Id | |
data.userId | string | Yes | maxLength: 64 | The user ID by the merchant, needs to ensure the uniqueness of each user | |
data.paymentTokenID | string | Yes | maxLength: 64 | PMMax token | |
data.paymentTokenStatus | string | Yes | maxLength: 16 | token status |
Response Example
json
{
"bizCode": "0000",
"message": "",
"data": {
"userId": "1212",
"paymentTokenID": "PMTOKEN20220906143826136639700000000",
"paymentTokenStatus": "UNBINDING"
}
}