Order Object

{
  "orderInformation": {
    "productDetails": [
      {
        "type": "PHYSICAL",
        "category": "FASHION",
        "subCategory": "FASHION WANITA",
        "name": "Dress Kasual Warna Putih",
        "description": "Ukuran M",
        "quantity": 1,
        "price": {
          "value": 100000,
          "currency": "IDR"
        }
      }
    ],
    "billingInfo": {
      "givenName": "Reforza Jordan",
      "sureName": "Geotama",
      "email": "reforza@pivot-payment.com",
      "phoneNumber": {
        "countryCode": "+62",
        "number": "89699990001"
      },
      "addressLine1": "Biomedical Building Lantai 3",
      "addressLine2": "Digital hub, BSD City",
      "city": "Tangerang Regency",
      "provinceState": "Banten",
      "country": "ID",
      "postalCode": "15331"
    },
    "shippingInfo": {
      "givenName": "Reforza Jordan",
      "sureName": "Geotama",
      "email": "reforza@pivot-payment.com",
      "phoneNumber": {
        "countryCode": "+62",
        "number": "89699990001"
      },
      "addressLine1": "Biomedical Building Lantai 3",
      "addressLine2": "Digital hub, BSD City",
      "city": "Tangerang Regency",
      "provinceState": "Banten",
      "country": "ID",
      "postalCode": "15331",
      "method": "REGULAR",
      "shippingFee": {
        "value": 100000,
        "currency": "IDR"
      }
    }
  }
}

Detail Order Object

Parameter
Data Type
Requirement
Description

productDetails

Array of Objects

M

List of products included in the order

  • type

String

M

Product type, possible values:

  • PHYSICAL

  • DIGITAL

  • SERVICE

  • category

String

O

Main category of the product (e.g., FASHION)

  • subCategory

String

O

Further classification within the category

  • name

String

O

Product name

  • description

String

O

Additional details such as size or color

  • quantity

Float

M

Number of units for this product

  • price

Object

M

Unit price of the product

>> value

Float

M

Amount value

>> currency

String

M

Currency ISO 4217

billingInfo

Object

O

The details of the billing information

  • givenName

String

M

First name of the billing name

  • sureName

String

O

Last name of the billing name

  • email

String

M

Validate email format

  • phoneNumber

Object

O

Phone number information

>> CountryCode

String

M

Country code prefix (e.g., +62)

>> number

String

M

Phone number start with “8”

  • addressLine1

String

O

Primary street address

  • addressLine2

String

O

Secondary address information

  • city

String

O

City or regency

  • provinceState

String

O

Province or state name

  • country

String

O

Country code (e.g., ID) ISO 3166-2

  • postalCode

String

O

Postal or ZIP code

shippingInfo

Object

O

The details of the shipping information

  • givenName

String

M

First name of the billing name

  • sureName

String

O

Last name of the billing name

  • email

String

M

Validate email format

  • phoneNumber

Object

O

Phone number information

>> CountryCode

String

M

Country code prefix (e.g., +62)

>> number

String

M

Phone number start with “8”

  • addressLine1

String

M

Primary street address

  • addressLine2

String

O

Secondary address information

  • city

String

M

City or regency

  • provinceState

String

M

Province or state name

  • country

String

M

Country code (e.g., ID) ISO 3166-2

  • postalCode

String

O

Postal or ZIP cod

  • method

String

M

Shipping method, possible values:

  • REGULAR

  • NEXTDAY

  • SAMEDAY

  • INSTANT

  • shippingFee

Object

O

Shipping fee amount

>> value

Float

M

Amount value

>> currency

String

M

Currency ISO 4217

Last updated