curl --request GET \
--url https://rewardservice.withbenji.com/reward_transaction/{id} \
--header 'Authorization: Bearer <token>'{
"code": "ok",
"data": {
"reward_transaction": {
"created_date": "2024-08-23T19:55:12.015047+00:00",
"last_updated_date": "2024-08-23T19:57:12.015047+00:00",
"status": 2,
"external_order_id": "5856681787572",
"id": 1,
"merchant_id": 1,
"partner_id": 1,
"campaign_id": 1,
"reward_amount": 266,
"transaction_amount": 885.95,
"transaction_type": 1,
"user_id": 1
}
}
}
Endpoint to retrieve information regarding a reward transaction
curl --request GET \
--url https://rewardservice.withbenji.com/reward_transaction/{id} \
--header 'Authorization: Bearer <token>'{
"code": "ok",
"data": {
"reward_transaction": {
"created_date": "2024-08-23T19:55:12.015047+00:00",
"last_updated_date": "2024-08-23T19:57:12.015047+00:00",
"status": 2,
"external_order_id": "5856681787572",
"id": 1,
"merchant_id": 1,
"partner_id": 1,
"campaign_id": 1,
"reward_amount": 266,
"transaction_amount": 885.95,
"transaction_type": 1,
"user_id": 1
}
}
}
Hide properties
Show possible transaction type values
Show possible transaction status values
{
"code": "ok",
"data": {
"reward_transaction": {
"created_date": "2024-08-23T19:55:12.015047+00:00",
"last_updated_date": "2024-08-23T19:57:12.015047+00:00",
"status": 2,
"external_order_id": "5856681787572",
"id": 1,
"merchant_id": 1,
"partner_id": 1,
"campaign_id": 1,
"reward_amount": 266,
"transaction_amount": 885.95,
"transaction_type": 1,
"user_id": 1
}
}
}
Was this page helpful?