Delete Virtual account

DELETE {{api_environment_url}}/api/virtual-account/:externalid

Query Parameters

{
    "externalId": "1661435667",
    "internalId": "bbcada95-ee39-460f-8e57-b01ca17fa8b5",
    "accountNumber": "484.484.00000011",
    "country": "MEX",
    "currency": "MXN",
    "beneficiary": {
        "type": "INDIVIDUAL",
        "name": "Juan",
        "lastname": "Perez",
        "document": {
            "type": "RFC",
            "id": "LEKF8111119Z5"
        },
        "bank": {
            "account": {
                "number": "646010319800000073"
            }
        }
    },
    "status": {
        "code": "908",
        "description": "DELETED",
        "detail": "Virtual account has been deleted"
    },
    "errors": []
}

Example: Delete Virtual Account

curl --location \
--request DELETE '{{api_base_url}}/api/virtual-account/1661435667/' \
--header 'Authorization: Bearer {{token}}'

Last updated