Payment Instrument Tokenization
Create a Card-on-File
Further streamline your checkout experience by securely storing customer card details in BR-DGE to save them having to re-enter cardholder details in future.
A Network Token may be asynchronously provisioned if enabled on your Retail Channel. Merchants can track the status of Network Tokens via webhook callbacks or by querying the Card-on-Files via GET /payment-instruments.
Please see https://docs.br-dge.io/docs/vault for more information.
post/payment-instruments
Request body
Example request
{
"type": "card",
"nameOnCard": "John F Doe",
"pan": "4444 3333 2222 1111",
"expiryDate": "05-25",
"startDate": "01-00",
"issueNumber": 1,
"pspTokens": [
{
"pspName": "Checkout.com",
"tokenProvisioningStatus": "PROVISIONED",
"additionalData": {
"customerToken": "20C17E0D04D14D26E063A2598D0A4024",
"instrumentIdentifierToken": "7010000000016241111"
}
}
]
}Response
Successful tokenization of payment instrument
Example response
{
"tokenType": "CARD",
"cardType": "VISA",
"nameOnCard": "John F Doe",
"pan": "#### #### #### 1111",
"expiryDate": "05-25",
"startDate": "01-20",
"customerId": "example-customer-id",
"pspTokens": [
{
"pspName": "Checkout.com",
"tokenProvisioningStatus": "PROVISIONED",
"additionalData": {
"customerToken": "20C17E0D04D14D26E063A2598D0A4024",
"instrumentIdentifierToken": "7010000000016241111"
}
}
],
"fingerprint": "63c8563d876b993878e1b5506b5fc5826e9e46266daaadac018a71ed307748c6",
"cardArtUri": "https://example.com/card-art/09a29968-f53f-4bdb-9744-6033996ee55f",
"metadata": {
"cardBrand": "MASTERCARD",
"category": "CLASSIC",
"countryIsoA2": "GB",
"commercial": true,
"bin": "48321456"
},
"networkTokenProvisioningStatus": "PROVISIONED",
"networkToken": {
"id": "WXdfRANqUrBalltlBKaaWHVGrFoWrIHsZAK",
"token": "5186151969968300",
"expiryDate": "08-26",
"issuer": "MASTERCARD",
"status": "ACTIVE",
"tokenUniqueReference": "DM4MMC0000000001cd2826c715b7475bb089b7622366ebe4",
"paymentAccountReference": "5001EUMYTT3AESCZGUEC77KPCLETI",
"lastFour": "1234",
"cardBin": "00123456",
"cardLastFour": "1234",
"cardExpiryDate": "08-26",
"cardIssuer": "Bank of BR-DGE",
"cryptogram": {
"cryptogram": "Qwertyuio0987654321asdfghjklpois",
"eci": "07"
},
"cryptogramProvisioningStatus": "PROVISIONED"
},
"associatedMultiUseToken": "4fg0498a-98cb-42ha-9g6a-06c7e63uc38f"
}