Transaction Cancellation
Overview
Get Transaction Cancellation Eligibility
Request query parameters:
- TransactionsId: ID of the customer transaction to check for cancellation eligibility
- CustomersId (optional): ID of the customer to whom the transaction belongs
Response:
- bCancellable: Is the transaction cancellable at the time of checking?
Possible error messages:
- Unauthorized
- BadRequest
- InternalServerError
Authorizations
AuthorizationstringRequired
JWT Authorization header using the Bearer scheme.
Example: "Authorization: Bearer {token}"
Tokens can be generated using the /api/v1/public/auth/login endpoint.
Query parameters
TransactionsIdinteger · int32Optional
CustomersIdinteger · int32Optional
Header parameters
otpstringRequired
One time pass for the request
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
/api/v1/customer/transactions/cancelResponse Body Parameters and Types:
Successful Response Example
Submit Transaction Cancellation Request
Request Body Parameters
Request query parameters:
- TransactionsId: ID of the customer transaction to cancel
- CustomersId (optional): ID of the customer to whom the transaction belongs
Response:
- TransactionsId: ID of the customer transaction submitted for cancellation
- CancellationRequestsCode: Customer transaction cancellation request identifier
Possible error messages:
- Unauthorized
- BadRequest
- InternalServerError
Authorizations
AuthorizationstringRequired
JWT Authorization header using the Bearer scheme.
Example: "Authorization: Bearer {token}"
Tokens can be generated using the /api/v1/public/auth/login endpoint.
Header parameters
otpstringRequired
One time pass for the request
Body
transactionsIdinteger · int32Optional
customersIdinteger · int32 · nullableOptional
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
/api/v1/customer/transactions/cancelRequest Example
Response Body Parameters
Successful Response Example
Last updated