Skip to content

Get virtual card information

When a virtual card is created, a destination.external.email is stored. When you execute the "Send_information" endpoint, you have two options:

If you set send_link to true, a link will be sent to the destination.external.email. If set to false, the URL will be returned for you to send as you wish.

Note that the information can only be viewed by the recipient of the email.

GET https://[base_url]/v1/virtual-cards/{virtual_card_id}/link?send_link={boolean}

Query parameters

PARAMETER TYPE REQ. DESCRIPTION
virtual_card_id String Yes Virtual card ID you want to retrieve the link for. You can obtain it from the Create Card response.
send_link Boolean Yes Indicates whether to send the link to the destination email. If true, the link will be emailed; if false, the URL will be returned for manual distribution.

Endpoint response

Status code: 200

send_link=true
{
    "msg": "Link enviado correctamente a [email protected]"
}
send_link=false
{
    "link": "https://app-dev.autocore.pro/virtual_cards/car_02xyIUFIZc/data"
}

Status code: 400, 401, 403, 404

{
 "code": "Status code",
 "message":"Error description",
 "detail": "Error details"
}