Get Products
The following is an API endpoint to get information about our Products.
Used to get list of our products.
Endpoint
/api/v4/product
Headers
- Name
X-Client-Id
- Type
- uuid
- Description
API Key (provided by BANGJEFF or retrieve from our Reseller Portal).
Please refer to Authentication for detail
- Name
X-Request-Time
- Type
- YYYY-MM-DDTHH:mm:ssZ
- Description
Request Time should be ISO 8601 and will be used to generate Signature.
Please refer to Authentication for detail
- Name
X-Signature
- Type
- string
- Description
Signature Generated using SHA-256 algorithm.
Please refer to Authentication for detail
- Name
Content-Type
- Type
- application/json
- Description
Content type application/json
Body
- Name
region
- Type
- string
- Description
Please refer to Available Region
Request
Example
POST
/api/v4/balancecurl --location --request POST 'https://sandbox-api.bangjeff.com/api/v4/product' \
--header 'X-Client-Id: {{api_key}}' \
--header 'X-Request-Time: {{request_time}}' \
--header 'X-Signature: {{signature}}' \
--header 'Content-Type: application/json' \
--data '{
"region": "ID"
}'
Response
Example
{
"rc": "00", // Check Response Code List
"message": "Success", // Check Response Message List
"data": [
{
"code": "8BP", // Product Code
"name": "8 Ball Pool", // Product Name
"status": "ACTIVE" // ACTIVE, INACTIVE
},
{
"code": "ACER",
"name": "Ace Racer",
"status": "ACTIVE"
},
{
"code": "ALCSTR",
"name": "Alchemy Stars",
"status": "ACTIVE"
}
}
}