Initiate Cashback Delivery
Calculates and delivers cashback to a user participating in a cashback campaign. Funds will be deducted from the merchant’s balance to transfer to the user, so it is essential to ensure sufficient balance before initiating the cashback delivery. This endpoint requires details such as the user’s ID, purchase amount, and campaign ID, along with payment method and transaction identifiers.
Authorizations
A unique identifier assigned to each application.
A secure token associated with the app-id.
Body
The unique identifier of the user receiving the cashback.
"8GAVZZKTI3"
The payment method used in the transaction (e.g., "pay_id").
"pay_id"
A unique identifier for the transaction on the client's side to prevent duplicate processing.
"delivery_8263e133e2"
The total amount of the purchase for which cashback is applicable, in minor units (e.g., 500 for $5.00).
500
The unique identifier (UUID) of the cashback campaign associated with this transaction.
"LOQVYIM0"
The currency code of the transaction, following ISO 4217 standards (e.g., "aud" for Australian Dollar). Default is "aud".
"aud"
Details for sending a webhook notification after processing the transaction.
The date of the transaction in "YYYY-MM-DD" format.
"2024-10-09"
The time of the transaction in "HH:mm:ss" format.
"00:00:11"
Callbacks
POST{$request.body#/webhook_notification/endpoint_url}cashbackDeliveryCallback
Body
The unique identifier for the cashback transaction.
The client's unique transaction identifier.
The type of transaction ("money_in").
The unique identifier for the balance transaction.
The unique identifier of the cashback campaign.
The unique identifier of the site.
The purchase amount.
The payment method used.
The customer's unique identifier.
The cashback amount awarded.
The status of the transaction ("settled" or "failed").
The timestamp when the transaction was created.
The timestamp when the transaction was last updated.
The date of the transaction.
The time of the transaction.
Configuration for the webhook notification.
Response
Callback received successfully.
Response
Cashback delivered successfully.
The unique identifier for this cashback transaction in Hello Clever's system.
"JTDOL51K"
The client's unique transaction identifier.
"8263e133e2"
The type of transaction, indicating the flow of money (e.g., "money_in" for cashback deposits).
"money_in"
The unique identifier for the balance transaction in Hello Clever's dashboard linked to this transaction.
"B283A882-18A4C85E"
The unique identifier of the cashback campaign.
"NBAOZMPR"
The unique identifier of the site where the transaction occurred.
"3BAVFJ6H"
The total amount of the purchase for which cashback applies, in major units (e.g., 500.0 for $500.00).
500
The payment method used in the transaction.
"pay_id"
The unique identifier of the customer receiving the cashback.
"8GAVZZKTI3"
The amount of cashback awarded in the transaction, in major units.
25
The status of the cashback transaction. Possible values are "created", "processing", "settled", or "failed".
"settled"
The timestamp when the transaction was created.
"2024-11-06T16:49:44.402Z"
The timestamp when the transaction was last updated.
"2024-11-06T16:49:44.402Z"
The date of the transaction as provided by the client.
"2024-10-09"
The time of the transaction as provided by the client.
"00:00:11"
Configuration for sending webhook notifications.