Example Request
curl --request POST \ --url https://sekalipay.com/api/v1/balance \ --header 'X-APIKEY: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "ref_id": "TP-1717000000", "code": "QRIS_CUSTOM", "amount": 100000 }'
Response Sample
200 OK
{
"message": "OK",
"data": {
"invoice": "INV...",
"ref_id": "TP-1717000000",
"amount": 101000,
"price": 100000,
"fees": 1000,
"payment_code": "QRIS_CUSTOM",
"status": "pending",
"payment_link": "https://...",
"payment_url": "https://...",
"qr_link": "https://...",
"expired_at": "...",
"expires_at": "..."
}
}