Developers
Sila Developers at Your Service!Sila Co. is a company that works in Financial Services , Payment Gateway , Issuing Cards , International Transfer , Payment Services Provider, leveraging advanced technologies to redefine and enhance the landscape of financial transactions. With its main offices strategically located in the USA and the Middle East.
Documentation
Create payment link
POST /v1/SilaPay/devloper/create
// REQUEST JSON
{
"Email": "Your Email",
"API_KEY": "Your API key",
"CallBack_URL": "Your link you want to redirect after completing the payment",
"Price": "Price of your product or service",
"Tile": "Title of your product or service",
"Client_Email": "Email of your client , you want be send a payment link to his email",
"TYPE": "3DS OR 2DS",
}
// RESPONSE JSON
{
"code": "[200] Successful response | [400] Error response",
"success": "Response type",
"link": "Payment link",
}
Transaction information
POST /v1/SilaPay/devloper/pay/id
// REQUEST JSON
{
"Email": "Your Email",
"API_KEY": "Your API key",
"PID": "Payment ID",
}
// RESPONSE JSON
[
{
"SILA_ID": "Payment ID [PID]",
"Amount": "4",
"Currency": "AED",
"Status": "Successfully",
"Client_Country": "US",
"Client_City": "New York",
"Client_Email": "mr.jone@gmail.com",
"Client_name": "mr.jone",
"Payment_Type": "captured",
"Card_Brand": "Visa",
"Card_Last4": "5070",
"MID": "100",
"Date2": "01/02/2023",
"Time2": "9:37:44 PM"
}
]
Example (Axios)
// Using npm:
$ npm install axios
// Using CDN:
#1 https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js
#2 https://unpkg.com/axios/dist/axios.min.js
axios.post('[live_url_replace]/v1/SilaPay/devloper/create', {
Email: 'devloper@getsila.net',
API_KEY: 'VFil4oeLuZeP6kXHEJuVIPobWIL6T6va',
CallBack_URL: 'https://google.com',
Price: '10',
Title: 'Cake',
Client_Email: 'mr.jone@gmail.com',
Type: '3DS',
})
.then(function (response) {
console.log(response);
})
.catch(function (error) {
console.log(error);
});
WooCommerce Plugin
// Use this SilaPay plugin to enable All payment methods.
## To run a payment gateway via WordPress
Follow the following steps
1- Install WooCommerce Plugin
2- Go to the Plugin's
3- Go to Add New
4- Add Plugins Upload Plugin
5- Upload Plugin WP_WooCommerce.zip
6- Go To The WooCommerce > Settings > Payments
7- Enable SilaPay
8- Click On SilaPay
8- Write your API Key , Emaild , Secure Type and press on save