This API is used to delete an existing card stored on PayU Vault.
HTTP Method: POST
Environment
| Test Environment | <https://test.payu.in/merchant/postservice.php?form=2> |
| Production Environment | <https://info.payu.in/merchant/postservice.php?form=2> |
Sample Response
-
On successful deletion
{ status: 1, msg: "My_card card deleted successfully", }- On failure of deletion
{ "status": 0, "msg": card not found }
Response parameters
Parameter | Description | Example |
|---|---|---|
status | The status of the response can be any of the following: -1: Success
| 1 |
msg | The description of the response whether the card details were deleted successfully or not deleted. | My_card deleted successfully |
Request Parameters
Reference info for request parameters
Parameter | Reference |
|---|---|
| key | For more information on how to generate the Key and Salt, refer to any of the following:
|
| hash | Hash logic for this API is: |
