Skip to main content
POST
/
api
/
v1
/
order
/
inquiry
Order inquiry
curl --request POST \
  --url https://www.waffo.com/api/v1/order/inquiry \
  --header 'Content-Type: application/json' \
  --data '
{
  "paymentRequestId": "<string>",
  "acquiringOrderId": "<acquiringOrderId>"
}
'
{
  "code": "<string>",
  "msg": "<string>",
  "data": {
    "paymentRequestId": "<string>",
    "merchantOrderId": "<string>",
    "acquiringOrderId": "<string>",
    "orderStatus": "PAY_IN_PROGRESS",
    "orderCurrency": "<string>",
    "orderAmount": "<string>",
    "finalDealAmount": "<string>",
    "orderDescription": "<string>",
    "orderAction": "<string>",
    "merchantInfo": {
      "merchantId": "<string>",
      "subMerchantId": "<string>"
    },
    "userInfo": {
      "userId": "0001",
      "userEmail": "test@email.com",
      "userTerminal": "WEB",
      "userCreatedAt": "2021-05-16T08:00:00.000Z",
      "userPhone": "<string>",
      "userCountryCode": "<string>",
      "userFirstName": "<string>",
      "userLastName": "<string>",
      "userBrowserIp": "<string>",
      "userAgent": "<string>",
      "userReceiptUrl": "<string>"
    },
    "goodsInfo": {
      "goodsName": "GameXXX-001",
      "goodsUrl": "https://www.merchant123.com/goods123",
      "appName": "<string>",
      "goodsId": 10001,
      "skuName": "GameXXX",
      "goodsUniquePrice": 100,
      "goodsQuantity": 1,
      "goodsCategory": "<string>"
    },
    "paymentInfo": {
      "productName": "ONE_TIME_PAYMENT",
      "payMethodType": "EWALLET",
      "payMethodName": "DANA",
      "payMethodProperties": "<string>",
      "payMethodResponse": "<string>",
      "userPaymentAccessToken": "<string>",
      "payMethodUserAccountNo": "<string>",
      "payMethodUserAccountType": "<string>",
      "payOption": "<string>",
      "cashierLanguage": "<string>",
      "cashierAppearance": "<string>",
      "payMethodCountry": "<string>",
      "captureMode": "<string>",
      "merchantInitiatedMode": "<string>"
    },
    "addressInfo": {
      "address": "street 123 ...",
      "city": "city123",
      "region": "region or state or province 123",
      "postcode": 112233,
      "addressCountryCode": "IDN"
    },
    "orderRequestedAt": "<string>",
    "orderExpiredAt": "<string>",
    "orderUpdatedAt": "<string>",
    "orderCompletedAt": "<string>",
    "refundExpiryAt": "<string>",
    "cancelRedirectUrl": "<string>",
    "orderFailedReason": "<string>",
    "extendInfo": "<string>",
    "userCurrency": "<string>",
    "subscriptionInfo": {
      "subscriptionId": "<string>",
      "period": "<string>",
      "subscriptionRequest": "<string>"
    }
  }
}

Body

application/json

provide paymentRequestId or acquirerOrderId

paymentRequestId
string

Payment request id sent from Merchant. It will also be used for idempotent check. (provide paymentRequestId or acquirerOrderId)

acquiringOrderId
string

waffo acquiring order Id (provide paymentRequestId or acquirerOrderId)

Example:

"<acquiringOrderId>"

Response

200 - */*

OK

response data

code
string
msg
string
data
object

A PaymentOrder object will be returned.