The Revoke Token API (revoke_token) is used to revoke or delete the token generated earlier using the Get Token API. For more information, refer to Get Token API - Payment Links.
HTTP Method: POST
Environment
Test Environment | <https://uat-accounts.payu.in/payment-links> |
Production Environment | <https://accounts.payu.in/payment-links> |
Request parameters
Parameters | Description | Example |
---|---|---|
client_id |
|
|
client_secret |
|
|
token |
|
|
Sample request
curl --location -g --request POST 'https://uat-accounts.payu.in/revoke' \
--header 'merchantId: `{merchantId}`' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer `{access_token}`'