Submit Redeem Products External
Redeem Product Exernal
POST /redeem/external
Process redeem for external product. The product will be directly sent to your account ( E-Wallet, PPOB, etc )
Headers
Name
Value
Accept
application/json
Authorization
Bearer <token>
Body
Name
Type
Description
client_code
string
client identifier
customer_id
number
ID of the customer
phone
string
Receiver Phone / Customer Number
product_code
string
Product Code from get all redeem product
qty
number
Quantity of redeemed product
Response
{
"status": "success",
"status_code": 200,
"message": "Redeem success.",
"data": {
"order_number": "RD9501012024101500000008",
"order_date": "2024-10-15 07:38:38",
"phone": "6281774859115",
"product_code": "MPHPLN20000",
"qty": "1"
}
}{
"status_code": 422,
"status": "error",
"message": "The client code must be between 6 and 7 digits.",
"errors": [
"The client code must be between 6 and 7 digits.",
"The client code must be a number."
]
}Last updated