Get All Transactions

Retrieves a paginated list of all checkout transactions for a specific user.

Endpoint

POST https://partners.waffarx.com/api/ValuCheckout/getalltransactions

Request Headers

Header

Description

wxc-id

Your WaffarX Client Id

wxc-auth

Signature auth header for the request

wxc-date

UTC timestamp of the request, e.g. 2024-04-24T12:34:56Z

authorization

JWT Token a short-lived token`

Accept-Language

Response language preference (e.g. en | ar)

Content-Type

Must be application/json

Note

wxc-id: The WaffarX client ID specified in your integration data.

Request Body Parameters

Name

Type

Required?

Description

PageNumber

integer

Required

Minimum value: 1

PageSize

integer

Required

Range: 1–50

UserId

string

Required

The user identifier whose transactions you want to fetch.

Request Body Example

Example Request Body
 {
   "UserId": "1231233431",
   "PageNumber": 1,
   "PageSize": 10
 }

cURL Example

curl --location 'https://partners.waffarx.com/api/ValuCheckout/getalltransactions' \
     --header 'Content-Type: application/json' \
     --header 'Accept-Language: en' \
     --header 'wxc-id: {YOUR_CLIENT_ID}' \
     --header 'wxc-date: 2025-07-01T17:06:06Z' \
     --header 'wxc-auth: c9132343295553cc468c45657f49554258' \
     --header 'authorization: eyJhbGciOiJSUzI1NiI....UE4WGw' \
     --data '{"PageNumber":"1","PageSize":"10","UserId":"9132343295553cc468c45657f49554258"}'

Responses

Success (HTTP 200)

Success Response Example
 {
     "totalCount": 4,
     "status": "Success",
     "data": {
         "cashBacks": [
             {
                 "storeLogo": "https://waffarxcdn-akcrhqbhbah9gpcc.z01.azurefd.net/waffarx-cdn/siteimages/stores/advlogo20241121063901391.png",
                 "id": "2b282fc6-e009-46a9-a07f-2787c2c6af82",
                 "status": "Rejected",
                 "storeId": "9cf05c17-c326-4d54-a55c-c338c75f0cb6",
                 "storeName": "Coffee Island",
                 "orderId": "6102295085158",
                 "orderDate": "2025-08-11T19:57:28.253",
                 "orderValue": 734.03,
                 "orderCurrency": "EGP",
                 "partnerUId": "567654475.0",
                 "subId": "28a3cf26-8ec0-4064-98cf-676d2f472748",
                 "userCashBack": 0.00,
                 "userReward": 0.00,
                 "partnerRevenue": 0.00,
                 "creationDate": "2025-08-11T23:53:40.273",
                 "products": []
             },
             {
                 "storeLogo": "https://waffarxcdn-akcrhqbhbah9gpcc.z01.azurefd.net/waffarx-cdn/siteimages/stores/advlogo20241121063901391.png",
                 "id": "268673ab-72ee-441b-89e1-4bfc87c66a1f",
                 "status": "Rejected",
                 "storeId": "9cf05c17-c326-4d54-a55c-c338c75f0cb6",
                 "storeName": "Coffee Island",
                 "orderId": "6102289612902",
                 "orderDate": "2025-08-11T19:53:18.837",
                 "orderValue": 0.00,
                 "orderCurrency": "EGP",
                 "partnerUId": "567654475.0",
                 "subId": "c02f559e-cd72-4a4d-a6bb-c3c2db188c1c",
                 "userCashBack": 0.00,
                 "userReward": 0.00,
                 "partnerRevenue": 0.00,
                 "creationDate": "2025-08-11T23:53:40.227",
                 "products": []
             },
             {
                 "storeLogo": "https://waffarxcdn-akcrhqbhbah9gpcc.z01.azurefd.net/waffarx-cdn/siteimages/stores/advlogo202508060636493649.png",
                 "id": "44e1e212-b2fa-4354-9bfc-9fea88009dc5",
                 "status": "Rejected",
                 "storeId": "4cee9756-c229-4caa-b365-b9e834ef8007",
                 "storeName": "Sigma Fit",
                 "orderId": "6560517816600",
                 "orderDate": "2025-08-11T15:14:33.69",
                 "orderValue": 950.87,
                 "orderCurrency": "EGP",
                 "partnerUId": "567654475.0",
                 "subId": "2dee39ae-85c0-43cb-953e-ba7d9c10facf",
                 "userCashBack": 0.00,
                 "userReward": 50.00,
                 "partnerRevenue": 47.54,
                 "creationDate": "2025-08-11T15:53:44.01",
                 "products": []
             }
         ],
         "orders": [
             {
                 "products": [
                     {
                         "productId": "68cfec712c112fb2b5000a9a",
                         "variantId": "45345369751737",
                         "productName": "Iphone 14 Pro Max",
                         "image": "https://cdn.shopify.com/s/files/1/0550/1734/1113/files/iphone-17-lineup-STORY-BANNER-850x500.png?v=1757969431",
                         "errorImage": "https://waffarxcdn-akcrhqbhbah9gpcc.z01.azurefd.net/waffarx-cdn/img/productsearcherror.png",
                         "price": 245,
                         "currencey": "EGP",
                         "brand": "waffar"
                     }
                 ],
                 "id": "68e51fb21523ff481e514af1",
                 "merchantOrderId": "#1298",
                 "userId": "567654475.0",
                 "loanId": "LOAN-11111",
                 "transactionId": "TXN-67890",
                 "creationDate": "2025-10-07T14:12:02.24Z",
                 "orderStatus": "NotAvailable",
                 "totalPrice": 320.00,
                 "currency": "EGP",
                 "storeData": {
                     "storeId": "61a535ad-bf20-4d71-8846-413ebe8bb8ff",
                     "storeName": "Test Valu",
                     "storeLogo": "https://waffarxcdn-akcrhqbhbah9gpcc.z01.azurefd.net/waffarx-cdn/siteimages/stores/advlogo202509101016121612.jpeg",
                     "storeLogoPng": "https://waffarxcdn-akcrhqbhbah9gpcc.z01.azurefd.net/waffarx-cdn/siteimages/stores/advlogo202509101016121612.jpeg",
                     "hotline": "16671"
                 }
             }
         ],
         "totalCountOrders": 1,
         "totalCountCashBacks": 3
     },
     "message": "Retrieved 3 cashbacks and 1 confirmed orders",
     "errors": null
 }

Note

orderStatus: The order status value can be one of those values (“InProgress”, “Cancelled”, “Fulfilled”, “ReturnInProgress”, “Returned”)

Error (HTTP 4XX/5XX)

Error Response Example
 {
   "status": "Error",
   "message": "",
   "errors": [ "Page number must be greater than or equal to 1." ]
 }