http://dev-notifcallback.sparkpay.id/api.php?action=token
http://dev-notifcallback.sparkpay.id/api.php?action=qr
http://dev-notifcallback.sparkpay.id/api.php?action=query
http://dev-notifcallback.sparkpay.id/api.php?action=refund
Request access token:
curl -X POST "http://dev-notifcallback.sparkpay.id/api.php?action=token" \
-H "Content-Type: application/json" \
-d '{}'
Headers: Content-Type: application/json
Body (raw JSON) untuk ?action=qr:
{
"amount": "15000.00",
"merchantId": "...",
"terminalId": "..."
}