cURL
curl --request POST \ --url https://rewardservice.withbenji.com/reward_transaction/auth \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "transaction_amount": 123, "external_transaction_id": "<string>", "campaign_id": 123, "partner_id": 123 }'
{ "code": "ok", "data": { "authentication_id": "016bb1f6-ab4e-11ef-a1a8-0a58a9feac02", "authentication_status": 1 } }
Create a token to authenticate the transaction and use in the create transaction API
Show possible transaction authentication status values
Was this page helpful?