Test Operations
Authorizations
Header parameters
AuthorizationstringRequiredDefault:
Private API key to be provided in the format Api-Key <key>
.
Api-Key vSUmxsXx.V81oYvOWFMcIywaOu57Utx6VSCmG11lo
Body
Fetch the payment txn based on the order no or session id also, if the payment txn is not in the accepted state for the input operation, raise an error
operationstring · enumRequiredPossible values:
delete
- deletecancel
- cancelexpire
- expirerefund
- refundcapture
- capturevoid
- void
Responses
200Success
application/json
Responseone of
or
400Error
application/json
401Error
application/json
403Error
application/json
405Error
application/json
post
POST /b/pbl/v2/operation/ HTTP/1.1
Host: betabulk.ottu.net
Authorization: Api-Key vSUmxsXx.V81oYvOWFMcIywaOu57Utx6VSCmG11lo
Content-Type: application/json
Accept: */*
Content-Length: 61
{
"session_id": "<add `session_id` here>",
"operation": "expire"
}
{
"detail": "text",
"operation": "refund",
"result": "success"
}
Last updated