v1/Accounts/CancelPayment/{PaymentId}

 

API parameters
Required

 

Name In Type Description
Bearer Token Authorization string Authentication token.
PaymentId Path string PaymentId.

 

Optional

 

Name In Type Description
CustomerId Parameter string CustomerId.

 

Response

 

[
   {
     "message": "Payment has been cancelled suceesfully"
   }                                    
]                                    
 

 

Error Codes

 

HTTP Status Code Description
401 Invalid credentials Invalid credentials
404 Invalid customerid Invalid customerid
404 Invalid paymentid Invalid paymentid
400 Sorry you can't cancel this payment Sorry you can't cancel this payment