Skip to navigation

Transaction History - Cashback (Merchant)

The API endpoint retrieves the cashback history of a user for a specific merchant. It provides detailed information about the cashback received from transactions with a particular merchant.

Request Body

  • merchant_id (string): The ID of the merchant whose transactions are being queried.

  • page (integer): The page of the transaction history to present. Each page presents a subset of transaction records.

Response

  • merchant (array): Contains the user’s cash back records for a merchant. It includes fields like user_id, merchant_name, user_cashback_total, user_cashback, total_spent, loyalty_percentage, loyalty_min_transaction, loyalty_max_cashback, category, address1, city_name, state_code, state_name, postcode, and merchant_image_url.

  • transactions (array): Lists individual transactions. Each object includes details such as the merchant, earned, spent, loyalty_percentage, type, and created_at date.

Query parameters

api_tokenstringOptional

Request

This endpoint expects an object.
apistringOptional
dataobjectOptional

Response

Transaction History - Cashback (Merchant)

messagestringOptional
apistringOptional
statusstringOptional
dataobjectOptional