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

Cancel Virtual Account

Developing
POST
/pg/snap/v1/transfer-va/delete-va
Last modified:2025-05-15 06:14:06
This API Is used when an order is no longer valid (e.g., user cancels the transaction before payment).
Cancel a virtual account that has not yet been paid. Once canceled, the VA will no longer accept payments and its status becomes CANCELED.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://staging-uno.topremit.com/pg/snap/v1/transfer-va/delete-va' \
--header 'Authorization;' \
--header 'CHANNEL-ID;' \
--header 'X-TIMESTAMP;' \
--header 'X-SIGNATURE;' \
--header 'X-PARTNER-ID;' \
--header 'X-EXTERNAL-ID;' \
--header 'Content-type:  application/json' \
--data-raw '{
    "partnerServiceId": "string",
    "customerNo": "string",
    "virtualAccountNo": "string",
    "trxId": "string"
}'
Response Response Example
{
    "responseCode": "string",
    "responseMessage": "string",
    "virtualAccountData": {
        "partnerServiceId": "string",
        "customerNo": "string",
        "virtualAccountNo": "string",
        "trxId": "string",
        "additionalInfo": {},
        "paymentId": "string",
        "channelCode": "string",
        "status": "string",
        "created_at": "string"
    }
}

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Previous
Virtual Account Callback
Next
Simulate Virtual Account Payment (Test Mode Only)
Built with