Order

This API to Reserve Order to our System

POST https://tokoapi-dev.netzme.com/public/api/ppob/v1/order

Request

NameTypeDescription

type

String

ORDER_PRODUCT

body

JSON Object

Body Object

Body

NameTypeDescription

merchantId

string

Your merchantID, eg: M_YDXabcd1

productId

string

ID of Product you can get from Product Detail

denomCode

string

Code of Denom you can get from Product Detail

checkerResponse

Json Object

Value of game_checker you can get from Product Detail and add new value of each field with same value of your Validate User

validationUserResponse

Json Object

Response of Validate User

Headers

ParameterDescription

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

Transaction Signature, see page

X-AUTHORIZATION

Authorization token you get after hit Authentication Token

Example

{
    "requestId": "ed3f6763-b1bd-40e3-aecb-ddaa2c3a9775",
    "type": "ORDER_PRODUCT",
    "status": 200,
    "statusMessage": "success",
    "body": {
        "order_id": "1709129138812",
        "status": "pending",
        "qty": 1,
        "total_order_amount": 108,
        "created_at": "2024-02-28T21:05:38.403081924+07:00",
        "product_name": "Mobile Legends Diamonds",
        "denom_name": "185 Diamonds",
        "validation_token": "VT170841167245Y1f1"
    }
}

Last updated