Get Network Token
To try it out today, email us at [email protected]
Get a Network Token
Calling the Network Token API with a GET request will fetch the data for the provisioned network token and the card information.
Prerequisites:
You will need a valid bearer_token
to issue Enrollment API calls. Please see the Authentication guide for how to create one.
Get token information
You can expand the below dropdown to view more information about the API specifications for a GET
request:
Getting the network token will fetch the data for the provisioned network token and the card information.
Authorizations
Path parameters
pan_aliasstringRequiredExample:
VGS alias representing the PAN
9914040119524512000
Responses
200
Retrieve network token response
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
default
Retrieve network token response
application/json
get
GET /network-tokens/{pan_alias} HTTP/1.1
Host: calm.sandbox.verygoodsecurity.app
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"pan_alias": "9914040119524512000",
"network_token_last4": "2345",
"expires_at": "2023-12",
"created_at": "2019-05-15T12:30:45Z",
"updated_at": "2019-05-15T12:30:45Z",
"state": "ACTIVE",
"card": {
"last4": "0010",
"bin": "489537",
"expires_at": "2023-12",
"holder_info": {
"name": "Jane Doe",
"email": "[email protected]",
"number": "+1415-123-4567",
"billing_address": {
"name": "John Doe",
"company": "John Doe Company",
"address1": "555 Unblock Us St",
"address2": "M13 9PL",
"city": "New York",
"region": "CA",
"country": "US",
"postal_code": "12301",
"phone": "+14842634673"
}
}
}
}
What's next?
Last updated