Get Loan Amount

Retrieves an order pricing details.

Endpoint

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

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

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

pendingOrderId

string

Required

The order identifier.

Request Body Example

Example Request Body
 {
   "pendingOrderId": "68fe43b23e5e2de868117e3f"
 }

cURL Example

curl --location 'https://partners.waffarx.com/api/ValuCheckout/getloantoconfirm' \
     --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' \
     --data '{"pendingOrderId":"68fe43b23e5e2de868117e3f"}'

Responses

Success (HTTP 200)

Success Response Example
 {
     "code": null,
     "status": "Success",
     "data": {
         "partnerTotalPrice": 1343.99,
         "totalPrice": 706.495,
         "shippingFee": 69.00
     },
     "message": null,
     "errors": null
 }

Error (HTTP 4XX/5XX)

Error Response Example
 {
   "status": "Error",
   "message": "",
   "errors": [ ]
 }