Card Check - V1
Prerequisites
Required scopes
This endpoint requires the following scopes:
- : Grants write access to cards
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Body
Payment card object.
namestring · max: 255RequiredExample:
Card owner's full name.
John Doenumberstring · min: 13 · max: 19RequiredExample:
Customer's card number.
5573491171027312Pattern: ^(\d{6}.{0,9}[a-zA-Z].{0,9}\d{4}?)|((?:4[0-9]{12}(?:[0-9]{3})?)|5[1-5][0-9]{14}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|6(?:011|5[0-9]{2})[0-9]{12}|(?:2131|1800|35\d{3})\d{11})$exp_monthinteger · min: 1 · max: 12RequiredExample:
Card's expiration month.
7exp_yearinteger · max: 99RequiredExample:
Card's expiration year.
24cvvstringOptionalExample:
Card's cvv
123Pattern: ^\d{3,4}$Responses
202
Card check API response.
application/json
400
Bad Request
application/json
404
Vgs Merchant Not found
application/json
422
Unprocessable Entity. Possible error codes:
card-brand-not-supportedaccount-updater-not-supported
application/json
500
Internal Server Error
application/json
default
Card check API response.
application/json
post/card-check
POST /card-check HTTP/1.1
Host: calm.sandbox.verygoodsecurity.app
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"name": "John Doe",
"number": "5573495XTjZP21V7312",
"exp_month": 7,
"exp_year": 24
}{
"data": {
"name": "John Doe",
"number": 5573491171027312,
"exp_month": 7,
"exp_year": 24,
"cvv": 123,
"merchant": {
"vgs_merchant_id": "MCq7GWCbtVXaNt8b4k2xraTw",
"sub_merchant_name": "John",
"sub_merchant_mid": 345643355
},
"failure_code": "account-updater-not-supported",
"event": "au_card.valid"
}
}Request Body Fields
Field
Field Type
Description
Last updated

