Introduction
Sadad Embedded Payment allows the customers to complete their transactions without leaving the platform's.
Perquisite
To use the Sadad Embedded payments, the merchant account has to be qualified to use this feature.
If Embedded feature is not enable in the Sadad account, please contact [email protected] to enable it.
Register Domain
To start the embedded payment integration, you need to REGISTER your domain with Sadad.
API endpoint
To register the domain, you should call the allow_domain endpoint.
Request
{
"domain": "your_domain_name.com"
}
Response
{
"isValid": true,
"errorKey": null,
"response": {
"result": true
}
}
{
"isValid": false,
"errorKey": "InvalidDomainName",
"response": null
}