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

Simulate Virtual Account Payment (Test Mode Only)

Developing
POST
/pg/snap/v1/transfer-va/{id}/pay-va
Last modified:2025-05-21 04:34:29
Only available in test mode. This API is used by developers to verify callback delivery, status updates and post-payment logic in your system
Simulate a successful virtual account payment in sandbox/test environments. This allows developers to test their integration and callback handling without making real payments.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://staging-uno.topremit.com/pg/snap/v1/transfer-va//pay-va' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": "string"
}'
Response Response Example
{
    "status": "string"
}

Request

Path Params
id
string 
required
trxId of the VA
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
Cancel Virtual Account
Next
QRIS
Built with