Checkout
The following is an API endpoint to create an Order.
Digunakan untuk melakukan proses checkout product.
List PID: https://reseller.bangjeff.com/#price-list
Required Params
- Name
apikey
- Type
- string
- Description
API Key (provided by BANGJEFF or retrieve from our Reseller Portal).
Please refer to Authentication for detail
- Name
code
- Type
- string
- Description
Variant Code from BANGJEFF
Please refer to List PID
- Name
inputs
- Type
- string
- Description
Topup destination separated by
,
Example: 123123123,1231
Optional Params
- Name
referenceNumber
- Type
- string
- Description
Your unique Transaction ID
Request
Example
GET
/api/v3/ordercurl --location 'https://sandbox-api.bangjeff.com/api/v3/order?apikey={apikey}&code={code}&inputs={inputs}&referenceNumber={referenceNumber}'
Response
Example
success. invoice_number BJ12345678910. reference_number INV123456789. variant_name 14 (13+1) Diamonds. status_code SUCCESS. inputs 12345678910. status_desc Berhasil Terkirim. date 2020-11-20 14:39:58. voucher abcd-1234-defg-5678. total_amount 10000. balance 1000000