Refund Application

POST https://api.paytomorrow.com/api/ecommerce/application/{{applicationToken}}/refund

Request for refunding an application on PayTomorrow given the application token returned in the Create Order api endpoint. It responds with a success status.

Headers

Authorization: Bearer theacces-toke-naaa-aaaa-aaaaaaaaaaaa // The access token
Content-Type: application/json

Request Body

{
"reason": "An explanation of why this application needs a refund."
}

Success Response Example

{
"status": "ok",
"message": "application cancelled"
}