🏦
API Doc
  • Welcome!
  • API AUTHENTICATION & SECURITY
  • Reference
    • API Reference
      • UploadOrders
      • Fundtransfer
      • CancelOrder
      • CheckOrderStatus
      • GetOrderDetails
      • GetBalance
      • CheckAccount
  • Additional Documents
    • 1. (SBR) Banks List (Including Napas and Citad, Mobile Wallet) - Update 2025
Powered by GitBook
On this page
  • Request
  • This method is used for tracking status of order
  • Response
  1. Reference
  2. API Reference

CheckOrderStatus

This method is used for tracking status of order.

Good to know: Press ">" to see detail.

Request

This method is used for tracking status of order

POST https://{SERVER}/Api/SBR/CheckOrderStatus

Request Body

Name
Type
Description

AuthID*

Text

UserID assigned by SBR

ProtocolData*

Object

Data request

Reference*

Text

ID of payment order

{
    // Response
}
{
    // Response
}
{
    // Response
}

Response

Parameters

Data type

Description

Status

Number

Return status of request: 0;Fail;1;Success

ProtocolData

Text

  • ProtocolData:"1": New status

  • ProtocolData:"2" : Canceled status

  • ProtocolData:"3": paid status

  • ProtocolData:"4": rocessing status

Error

Text

Error description

Request Example

// Some code
{
  "AuthID": "123",
  "ProtocolData": {
    "Reference": "REF123456"
  }
}

Response Example

{
  "Status": 1,
  "ProtocolData": "1"
}
{
  "Status": 1,
  "ProtocolData": "2"
}
{
  "Status": 1,
  "ProtocolData": "3"
}
{
  "Status": 1,
  "ProtocolData": "4"
}
{
  "Status": 0,
  "Error": "Payment not found!"
}
PreviousCancelOrderNextGetOrderDetails

Last updated 1 year ago