▫️Request format
Request format - Spark

EndPoint: https://api.sparkgateway.co
{On Developing}
All requests must be sent via POST method in JSON format. Request must be signed
Authentication
NAME
DESCRIPTION
merchant
The uuid of the merchant, which is located in the settings area of the merchant's personal account.
sign
Your API key and the base64-encoded body of the POST request are hashed using MD5 algorithm.
$data = json_encode($data);
$sign = md5(base64_encode($data) . $API_KEY);
$sign = md5(base64_encode('') . $API_KEY);
Different Key APIs are used to accept payments and payouts. Details are described in the relevant section.
Request example
curl https://api.sparkgateway.co
-X POST \
-H 'merchant: 8d06-064591096795 \
-H 'sign: d5399732686f8062b89eb' \
-H 'Content-Type: application/json' \
-d '{}'
Last updated