Topremit
OPEN APITopremit
OPEN APITopremit
  1. QRIS
  • Open API
    • Virtual Account
      • Create Virtual Account
      • Inquiry Status Virtual Account
      • Virtual Account Callback
      • Cancel Virtual Account
      • Simulate Virtual Account Payment (Test Mode Only)
    • QRIS
      • Create QRIS
        POST
      • Inquiry QRIS
        POST
      • QRIS Callback
        POST
      • Simulate QRIS Payment (Test Mode Only)
        POST
    • Fetch Access Token
      POST
  1. QRIS

Simulate QRIS Payment (Test Mode Only)

Developing
POST
/pg/snap/v1/qr/{id}/pay-qr
Last modified:2025-05-15 06:23:31
Only available in test mode. This API is used by developers to test their integration (e.g., order fulfillment, payment confirmation logic) in non-production environments.
Simulate a successful QRIS payment in sandbox/test environments. This is useful to test webhook handling, transaction updates, and downstream logic without requiring a real wallet scan.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://staging-uno.topremit.com/pg/snap/v1/qr//pay-qr' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": "string"
}'
Response Response Example
{
    "status": "string"
}

Request

Path Params
id
string 
required
Payment Id of the QR payment
Header Params
Content-type
string 
required
Only accept application/json
Example:
application/json
Authorization
string 
required
Bearer token for authentication
X-TIMESTAMP
string 
required
Client's current local time in ISO 8601 format: yyyy-MM- ddTHH:mm:ssTZD.
e.g., 2025-05-15T12:34:31+07:00
X-SIGNATURE
string 
required
Your request signature
X-PARTNER-ID
string 
required
Your assigned Client ID
Body Params application/json
amount
string 
optional
reserved for future use
Examples

Responses

🟢200Success
application/json
Body
status
string 
required
Previous
QRIS Callback
Next
Fetch Access Token
Built with