Resend Collected Payment Request
Resend Collected Payment Request.
Request
Request header:
POST https://api.ipaymy.com/v2/payment_collection_request/resend
Host: api.ipaymy.com
Accept: application/json
Request body:
{
"payment_id": 0,
"new_email": "",
"new_mobile_number": "",
"new_mobile_country_code": ""
}
payment_id:
- Description: Unique payment id from your list payments
- Type: number
new_email:
- Type: string
- Validate: required
new_mobile_number:
- Type: string
- Validate: required
new_mobile_country_code:
- Type: string
- Validate: required
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.