Skip to main content

Documentation

Delete Virtual Account

Delete a virtual account number of an existing wallet. In order to close a virtual account its status must be ACT.

    • virtual_account_id

    • ID of the virtual account. String starting with issuing_.

Note

The api_version header parameter is required. See Versioning for API Methods.

    • id

    • ID of the account. String starting with issuing_.

    • deleted

    • Indicates whether the account has been successfully deleted.

  • /v1/issuing/bankaccounts/:virtual_account_id

  • Delete Virtual Account

  • curl -X delete
    https://sandboxapi.rapyd.net/v1/issuing/bankaccounts/issuing_7807a16258d33b908426454b3d1900f
    -H 'access_key: your-access-key-here'
    -H 'api_version: 2023-11-29'
    -H 'Content-Type: application/json'
    -H 'salt: your-random-string-here'
    -H 'signature: your-calculated-signature-here'
    -H 'timestamp: your-unix-timestamp-here'
    
  • {
        "status": {
            "error_code": "",
            "status": "SUCCESS",
            "message": "",
            "response_code": "",
            "operation_id": "d778b3e6-d766-4ed1-8c85-8506cf2482bc"
        },
        "data": {
            "id": "issuing_7807a16258d33b908426454b3d1900f7",
            "deleted": true
        }
    }