Getting Started

Sections

CIT (Customer Initiated Transaction)

Outcome: Make the customer pay with the saved card through one of Paymob UIs without reentering his card details


Download the Postman Collection from this link.

Pre-requisites

1

Create an Intention

You need to first create a payment intention. Please check the Create Intention API documentation

Card Types can be used

In this step, you can use one of the following Card Integration ID types:

  • Normal 3DS
  • Auth
  • Card On File

Body Request

Include the card token as a string in the card_tokens array when calling the Create Intention API; other parameters are explained in the Create Intention API documentation.

card_tokens array accepts up to 3 card tokens.

Response

Important Parameters from Intention Response

client_secret : Will be used in Step 2.

2

Render Paymob UI

You need to render one of Paymob UIs, so the customer can complete the payment and save their card.

UI Optins

3

Processing the payment and saving the card

In the UI experience you used, the customer enters their card data and chooses to save their card for future use.

For the callbacks and HMAC calculation, you can check the Webhook (Callbacks) & HMAC section.

Was this section helpful?

What made this section unhelpful for you?

On this page
  • CIT (Customer Initiated Transaction)