Simulate QRIS Payment (Test Mode Only)
Developing
POST
/pg/snap/v1/qr/{id}/pay-qr
Last modified:2025-05-15 06:23:31
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
Header Params
Content-type
string
required
Example:
application/json
Authorization
string
required
X-TIMESTAMP
string
required
e.g., 2025-05-15T12:34:31+07:00
X-SIGNATURE
string
required
X-PARTNER-ID
string
required
Body Params application/json