Netzme PPOB
  • Introducing
  • Getting Started
  • API Reference
    • Token Signature
    • Authentication Token
    • Transaction Signature
    • Open API
      • Get Balance
      • Product List
      • Product Percentage
      • Product Detail
      • Validate User
      • Order
      • Buy
      • Order Detail
      • Order Inquiry
      • Order List
      • Create Virtual Account
      • List Transactions
    • WebView
      • WebView Transaction Flow
      • WebView Interfaces
Powered by GitBook
On this page
  • Query Params
  • Headers
  • Example
  1. API Reference
  2. Open API

Order Detail

PreviousBuyNextOrder Inquiry

Last updated 1 year ago

This API will show you about detail of order

GEThttps://tokoapi-dev.netzme.com/public/api/ppob/v1/order/detail?orderId={{orderId}}&merchantId={{merchantId}

Query Params

Name
Type
Description

orderId

String

merchantId

String

Your merchantID

Headers

Parameter
Description

Content-Type

application/json

X-CLIENT-ID

Partner ClientId, eg Xersia01

X-TIMESTAMP

Epoch Time of the request, we will check it. The date of timestamp should be the date you request.

X-MSG-ID

Your unique request-id, eg: Random UUID

X-SIGNATURE

X-AUTHORIZATION

Example

{
    "requestId": "ed3f6763-b1bd-40e3-aecb-ddaa2c3a9775",
    "type": "DETAIL_ORDER",
    "status": 200,
    "statusMessage": "success",
    "body": {
        "order_id": "1708421337490",
        "product_name": "Mobile Legends Diamonds",
        "denom_name": "185 Diamonds",
        "qty": 1,
        "price": 0,
        "total_order_amount": 108,
        "customer_phone_number": "",
        "validation_user_response": {
            "username": 123456,
            "validation_token": "VT1708416745Y1f1"
        },
        "checker_response": null,
        "order_status": "pending",
        "created_at": "0001-01-01T00:00:00Z"
    }
{
    "requestId": "ed3f6763-b1bd-40e3-aecb-ddaa2c3a9775",
    "type": "DETAIL_ORDER",
    "status": 400,
    "statusMessage": "record not found"
}
curl --location --request GET 'https://tokoapi-dev.netzme.com/public/api/ppob/v1/order/detail?orderId=1708421337490&merchantId=M_YDXabcd1' \
--header 'X-CLIENT-ID: Xersia01' \
--header 'X-SIGNATURE: 808bac29deaf1efc7f99e1f8aaefdccfbe9e135756ada8b3ab906124a6be19d0' \
--header 'Content-Type: application/json' \
--header 'X-AUTHORIZATION: eybzaWduYXR1cmUiOiI0MjZhZDg0NTgwMDdlNGNhZmE1MTBiY2ViZWM1Mzk5YWRlYmIxMzZhZjVmY2Y0MThmNjUyN2M5YmZkNDViYzBmIiwidG9rZW5QcG9iVXNlclJlc3BvbnNlIjp7InVzZXJJZCI6InJhaHlhbi1jbGllbnQiLCJleHBpcmVkVHMiOjE3MDk2OTcyMDI3ODYsInJvbGVzIjpbInBwb2IuZ2FtZV90b3B1cF9pbl9nYW1lIl19fQ==' \
--header 'X-TIMESTAMP: 1867413352207' \
--header 'X-MSG-ID: 61cc351c-1e97-46f5-9179-ec9c610c06ce'

Your id

Transaction Signature, see

Authorization token you get after hit

Order
page
Authentication Token