post
https://apisandbox.sadadpay.net/api/EmbeddedPayment/intiate_order_session
Create a payment session for the embedded form. Pass the returned session_Id to the KNET, card or Apple Pay widget on your page.
paymentGatewayCode | Payment method |
|---|---|
Knet | KNET |
CCCSSA | Visa and Mastercard |
ApplePay | Apple Pay |
Guide: Embedded Payment.
Errors
| errorKey | Cause |
|---|---|
PaymentMethodRequired | paymentGatewayCode is missing |
ReferenceNumberRequired | ref_Number is missing |
AmountRequired | amount is missing or 0 |
InvoiceAmountMustEqualsToTotalItemsAmount | amount is not the total of the items |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
401The token is missing, wrong or expired.
401The token is missing, wrong or expired.

