Get Order

The following is an API endpoint to check transaction.

Used to check transaction.

As for development, use the following Invoice Number

Invoice Number

BJO-RAPI-EC488CBEEAF0F413880659

Headers

  • Name
    Authorization
    Type
    uuid
    Description

    API Key (provided by BANGJEFF or retrieve from our Reseller Portal).

  • Name
    Content-Type
    Type
    application/json
    Description

    Content type application/json

Required Params

  • Name
    invoiceNumber
    Type
    string
    Description

    Invoice Number by BANGJEFF or Your unique Transaction ID

Request

Example

POST
/api/v3/order/{invoiceNumber}
curl -X POST "https://sandbox-api.bangjeff.com/api/v3/order/{invoiceNumber}" \
  -H "Authorization: {{api_key}}" \
  -H "Content-Type: application/json"

Response

Example

{
  "error": false,
  "code": 200,
  "message": "string",
  "data": {
    "invoiceNumber": "string",
    "productName": "string",
    "variantName": "string",
    "inputs": "string",
    "statusCode": "SUCCESS" | "PROCESSING" | "REFUNDED",
    "statusDesc": "string",
    "qty": 0,
    "totalAmount": 0,
    "voucher": "string",
    "createdAt": "string",
    "updatedAt": "string"
  }
}