Lodash Link
POST
/onetime/link/consents/revokeRevoke Consent
Body — RevokeConsentDTO: merchant_id?, wallet_card_id?. Requires X-Link-Session.
Request
Example
curl -X POST 'https://api.paycose.com/api/v1/app1/platform/wallet/onetime/link/consents/revoke' \
-H 'X-Link-Session: {{link_session}}' \
-d '{
"merchant_id": "",
"wallet_card_id": ""
}'Headers
| Name | Value |
|---|---|
| X-Link-Session | {{link_session}} |
Body
| Name | Type |
|---|---|
| merchant_id | string |
| wallet_card_id | string |
{
"merchant_id": "",
"wallet_card_id": ""
}Responses
200200 OK
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
Body
{
"revoked": false
}400400 Bad Request
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
Body
{
"object": "error",
"code": "<string>",
"key": "<string>",
"i18n_key": "<string>",
"message": "<string>",
"request_id": "<string>"
}