🏦
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 to cancel a payment order which had been upload before
  • Response
  1. Reference
  2. API Reference

CancelOrder

This method is used to cancel a payment order which had been upload before.

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

Request

This method is used to cancel a payment order which had been upload before

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

Request Body

Name
Type
Description

AuthID*

Text

UserID assigned by SBR

ProtocolData*

Object

Data request

Reference*

Text

ID of payment order

Note

Text

Cancel note

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

Response

Parameters

Data type

Description

Status

Number

Return status of request:

0;Fail;1;Success

Error

Text

Error description

Request Example

//Request Cancel
{
  "AuthID": “123”,
  "ProtocolData": {
    "Reference": "AGENT100013"
  }
}
//Request Cancel
{
  "AuthID": “123”,
  "ProtocolData": {
    "Reference": "REF123456"
    "Note":"Customer has been Canceled"
  }
}

Response Example

{
  "Status": 1,
  "Error": ""
}
{
  "Status": 0,
  "Error": "Payment has been canceled!"
}
//Note: Only cancel new transaction, not allow to cancel processing transaction
{
  "Status": 0,
  "Error": "Payment not allow update! "
}
PreviousFundtransferNextCheckOrderStatus

Last updated 1 year ago