Admin Process Refund Payment
Admin Process Refund Payment.
Request
Request header:
POST https://api.ipaymy.com/v2/admin/payment/refund/process
Host: api.ipaymy.com
Accept: application/json
Request body:
{
"payment_id": 0,
"request_id": 0,
"status": ""
}
payment_id:
- Type: number
- Validate: required
request_id:
- Type: number
- Validate: required
status:
- Type: string
- Validate: required
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.