v1
latestOpenAPI 3.0.02026-07-24512148.0 KBEmbedded Payment APIs
Embedded Card Payment
post/api/v1/payment-gateway/s2s/sale-1
Headers
X-API-KEYstring
Content-Typestring
Request body
object required
Example request
{
"orderId": "12345",
"amount": 1,
"currency": "SAR",
"paymentMethod": "card",
"auth": "N",
"card": {
"cardNumber": "5123450000000008",
"cardExpiryMonth": "01",
"cardExpiryYear": "2039",
"cardCvv": "100"
},
"customer": {
"name": "John",
"email": "John@edfapay.com",
"phone": "501223324"
},
"successUrl": "https://merchant.com/success",
"failureUrl": "https://merchant.com/failure",
"hash": "XXXXXXXXXXXXXXX"
}Response
Successful response