Card Payments

📘

The steps in this guide are following the essential steps mentioned in the payment API flow guide, so please check it before proceeding to this guide.

Pay Request:

📘

Now that you have obtained the payment key, you need to prepare your checkout experience (i.e. client-side code). Our API enables you to accept payment on your website/web app.

iFrame URL:
https://accept.paymob.com/api/acceptance/iframes/{{your_iframe_id}}?payment_token={{payment_token_obtained_from_step_3}}

Example:

Use the following card test data to perform a test transaction with your test integration ID:

MasterCard

Card Number

5123456789012346

Cardholder Name

Test Account

Expiry Month

12

Expiry Year

25

CVV

123

👍

That's it, you've successfully finalized your Card payments integration with Accept :tada:.
Now, prepare endpoints to receive payment notifications from Accept's server, to learn more about the transactions webhooks, please check this guide.


Did this page help you?