Remove Coupon Usage
Remove Coupon Usage.
Request
Request header:
DETELE https://api.ipaymy.com/v2/coupon_usage/:payment_token
Host: api.ipaymy.com
Accept: application/json
Path Parameters:
payment_token:
- Description: Unique payment token
- Type: string
Response
Response body:
{
"data": "",
"error": 0
}
Response codes:
- 200: Good stuff, and the response body should be easy to parse.
- 422: Typically malformed JSON, such as an integer in place of the required alphanumeric string, or a missing key. Check the response body for further details.