Skip to main content

stcpay

Prerequisite

In order to start accepting stcpay payment in your applicatoin

You will have to provide us with your stcpay MID,

Obtain the MID

you can obtain the your Stcpay MID either by :

contacting our support saying that you want to enable stcpay.
Visit Stcpay Merchant Portal

Once the MID received will configure stcpay for your account.

Using stcpay

Now once stcpay configured in your account stcpay should be appear in the checkout page:

or you can specify Stcpay in the API request to be the only payment method

samaple request

make sure to add the parameter methods and pass stcpay

{
"merchant_key": "{{merchant_key_dineropay}}",

"operation": "purchase",
"order": {
"number": "12",
"amount": "{{amount}}",
"currency": "SAR",
"description": "Important gift"
},
"cancel_url": "https://cancel.com",
"success_url": "https://success.com",
"customer": {
"name": "Amer Mo",
"email": "test@test.com"
},
"methods": ["stcpay"],
"hash": "{{hash}}"
}