capabilities.work

Full BNPL Lifecycle

A 4-step recipe with Tamara. We can help you get access.

Recipe · 4 steps

Full BNPL Lifecycle

with Tamara

Create, approve-check, authorise, and capture a Tamara order end to end.

  1. Create a hosted checkout session so Tamara can collect payment and complete the BNPL or Pay-Now flow with the consumer.
  2. Read the order Tamara created so the workflow can confirm it is approved before authorising and capturing.
  3. Transition the approved order to authorised so funds can be captured.
  4. Perform a full or partial capture against the authorised order, confirming shipment or fulfilment of items to the customer.
What you'll need to have ready
  • merchantToken: Tamara-issued merchant API bearer token.
  • orderReferenceId: The merchant's own reference id for the order.
  • totalAmount: Money object with amount and currency for the order total.
  • description: Short description of the order (max 256 chars).
  • countryCode: Two-letter country code (SA, AE, BH, KW, OM).
  • paymentType: PAY_BY_INSTALMENTS or PAY_NOW.
  • items: Line items in the order.
  • consumer: Consumer first_name, last_name, phone_number and optional details.
  • shippingAddress: Shipping address for the order.
  • taxAmount: Money object for the total tax amount.
  • shippingAmount: Money object for the shipping amount.
  • merchantUrl: Merchant success/failure/cancel redirect URLs.
For your developer

Arazzo workflow tamara:full-bnpl-lifecycle, 4 operations: createCheckoutSession → getOrderDetails → authoriseOrder → captureOrder. Specs on APIs.io.