Payment Account Reference (PAR)
Last updated
This guide explains how to test Payment Account Reference (PAR) in a controlled environment. You can simulate various responses using the respective Network PANs for the PAR endpoint and the expected responses for each.
Very Important Information: Please use only the provided test cards for this process. Under no circumstances should you input real PANs or live card data.
Account Setup & Prerequisites: Before merchants can use the the PAR service, their account must be configured.
Enable PAR on Your Account: PAR must be explicitly enabled for your VGS account. Please contact support@vgs.io or merchant-designated VGS implementation representative to have this feature activated.
Configure Service Account: Once PAR is enabled, merchants should configure their Service Account with the necessary permissions, including the account-reference-numbers:read scope (in addition to cards:read and cards:write).
Create Card IDs using the PANs below
Content-Type Header: application/vnd.api+json
HTTP Method: POST
Authentication: https://auth.verygoodsecurity.com/auth/realms/vgs/protocol/openid-connect/token
Base URL:
https://sandbox.vgsapi.comInitialize API Endpoint:
5102589999999913
Mastercard
Successful PAR
500165B0HVP7GJMBJQETCP10SZBEA
5105105105105100
Mastercard
PAR Not Found
N/A
6539495236090154
Discover
Successful PAR
6001D13RLVD4PLTG4C5FNDXYB3J8T
6011000000010005
Discover
PAR Not Found
N/A
Currently PAR service only supports Mastercard and Discover cards.
Last updated
POST /cards/{cardID}/payment-account-references
