Payment Account Reference
Retrieve a Payment Account Reference for a stored card
VGS card id identifying the stored card.
CRDbQQBKWZjT2mCrE75SDHXdBBearer token for authentication.
Bearer <JWT_TOKEN>Content type of a request to CMP
application/vnd.api+jsonPossible values: PAR successfully retrieved (from a persisted result or a fresh network lookup).
No credentials were provided, or the provided credentials were expired.
PAR lookup has not been enabled for this CMP account, or the provided credentials do not permit access to this resource.
No stored card exists for the given card_id, or the card does not belong to the authenticated account.
The request could not be processed due to a validation failure.
Includes par-not-found when the card network has no Payment
Account Reference for the account. This is a definitive negative
result from the network — not a technical failure (which surfaces as
500). Also includes unsupported-par-network when the card's
network does not have a certified PAR integration (currently
supported: Visa, Mastercard, Discover).
Internal Server Error — a non-recoverable error occurred (including a non-recoverable failure from the upstream card network). The request should not be reattempted.
The upstream card network is temporarily unavailable (rate-limited or throttled). Retry after a brief delay.
POST /cards/{card_id}/payment-account-references HTTP/1.1
Host: sandbox.vgsapi.com
Authorization: text
Content-Type: application/vnd.api+json
Accept: */*
{
"data": {
"id": "par_3xKz8mNpQrXtV9wBsYhLfDc",
"type": "payment-account-references",
"attributes": {
"payment_account_reference": "5001A2B3C4D5E6F7G8H9J0K1L2M3N4P5",
"network": "mastercard",
"par_creation_date": "2024-03-15",
"token_type": "pan"
},
"relationships": {
"card": {
"data": {
"type": "cards",
"id": "CRDbQQBKWZjT2mCrE75SDHXdB"
}
}
}
},
"meta": {
"observability": {
"trace_id": "d03de953fee8276999edd5a2e682ffa6",
"client_id": "ACa6ayoHU-am-sa-9-oF1Qj",
"vault_id": "tntvhmnsawa",
"account_id": "ACTfJPr7umSPZiJJckX3dMYLP",
"fingerprint": "4GqVMr6PvjLWZzJDv3XcojYVTsiicTAD9MuJZrdZHfqT6DYNG7wGbdkDCuq"
}
}
}Last updated

