Pre-Checkout

Check Payment Options Availability

Changed on

This endpoint is requested for online checkout integration during the pre-checkout phase, providing available payment options offered by Tamara based on the customer's eligibility and the given order value.

post/checkout/payment-options-pre-check

Request

  • Base URL
    https://api-sandbox.tamara.co
  • Auth
    HTTP bearer

Request body

country'SA' | 'AE' | 'BH' | 'KW' | 'OM' required

The unique ISO country code for the country that the merchant is located in

phone_numberstring required

The customer's phone number.

is_vipboolean

Consider if customer is VIP at merchant's side while fetching payment options

Example request

{
  "phone_number": "567483922",
  "order_value": {
    "amount": 100,
    "currency": "SAR"
  }
}

Response

Available Payment Options

has_available_payment_optionsboolean
single_checkout_enabledboolean

Changes