Delete Collected Payment
Delete Collected Payment.
Request
Request header:
DELETE https://api.ipaymy.com/v2/payment_collection_request/:payment_id
Host: api.ipaymy.com
Accept: application/json
Path Parameters:
payment_id:
- Description: Unique payment id
- Type: number
Response
Response body:
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmb3IiOjQwMCwidWlkIjo1NTc4MywidiI6IjF8MzM2MDIzfDU1NzgzfF98MXwxfDF8MXw4MnwxfDF8MXxffDJ8MjI5MTk4fDB8In0.30Ol9kB4L-2IE4aEct_uMQCSSSsRY6rRfna-kHGmnuw"
}
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.