cURL
curl --request POST \ --url https://rewardservice-staging.withbenji.com/reward_transaction/auth \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --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
x-api-key
Show possible transaction authentication status values
Was this page helpful?