...
App calls
/transact
with the right auth details (if supplied)Provider responds with
WaitingForOTP
orPendingValidation
(if required)App calls
/transact/validate
to supply OTP if neededProvider responds with any of the completion codes
Successful
orFailed
.To query the status of a transaction, the app can call
/transact/query
Where the provider supports it, the app can call
/transact/reverse
to request a reversal
Gliffy | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
INTERFACE SPECIFICATION (APP → ONEPIPE)
...
Code Block | ||
---|---|---|
| ||
{ "status": "Successful", "message": "Transaction processed successfully", "data": { "provider_response_code": "00", "provider": "Beeceptor", "errors": null, "error": null, "provider_response": { "referencenew_pin": "22333055551234", "new_pinpin_offset": "1245", "reference": "1234000022200225154318222333334432", "pin_offset": "1245"meta":{ "field_key":"field_value", "field_key":"field_value" } } } } |
Request (validate with otp)
...