Get Card Verifications
GET/v2/customers/:customerId/verifications/CARD
Returns a list of card verification attempts for the customer.
Request
Path Parameters
The wallet customer id
Query Parameters
Possible values: >= 1
and <= 50
Default value: 10
This is the requested number of records to return. Max = 50. Default = 10.
Default value: 0
This is the requested starting position of the response entries, where 0 is the first record. Default = 0.
Id of card being verified.
Possible values: [COMPLETED
, FAILED
]
Card verification status.
Responses
- 200
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
- VERIFICATION_LIST
Schema
- limit - This is the requested number of records to return. Defaults to 10 and maximum is 50.
- offset - This is the requested starting position of the response, where 0 is the first record. Default = 0.
List of previous card verification attempts.
meta
object
Contains paging information regarding the returned records, when response is paginated.
The input for paginated query contains two parameters:
Note! The total number of records is not returned, to prevent queries spanning on all records. If
numberOfRecords
<limit
, this means no further pages are available. On request of offset beyond the last record, the returnednumberOfRecords
is 0.
The number of previous pages can be calculated by dividing offset
to limit
.
This is the number of records returned in the lookup. Always numberOfRecords
is smaller than or equal to limit
.
This is the requested number of records to be returned per page.
This is the requested starting position of the response, where 0 is the first record.
This is the page of records on which the lookup starts. The starting page is 1.
{
"cardVerifications": [
{
"verificationCode": "string",
"instrumentId": "1001",
"verificationType": "VERIFICATION_CODE",
"id": "2cb56b2749af52d6b257054ef3de0",
"creationTime": "2021-07-15T17:54:12Z",
"status": "COMPLETED",
"statusReason": "INVALID_CODE",
"instrumentType": "CARD",
"remainingAttempts": 0
}
],
"meta": {
"numberOfRecords": 1,
"limit": 10,
"offset": 0,
"page": 1
}
}
{
"cardVerifications": [
{
"verificationCode": "1234",
"instrumentId": "1001",
"instrumentType": "CARD",
"verificationType": "VERIFICATION_CODE",
"id": "2cb56b2749af52d6b257054ef3de0",
"creationTime": "2021-07-15T17:54:12Z",
"status": "COMPLETED",
"remainingAttempts": 0
}
],
"meta": {
"numberOfRecords": 1,
"limit": 10,
"offset": 0,
"page": 1
}
}
Not Found
- application/json
- Schema
- Example (from schema)
- Not found error
Schema
Array [
]
error
object
Represents details of an error.
The error code.
The description of the error.
Details for the errors of any parameter value.
fieldErrors
object[]
List of field errors associated with the main error.
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
{
"error": {
"code": "5269",
"message": "Entity not found",
"details": [
"The ID(s) specified in the URL do not correspond to the values in the system."
]
}
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Internal server error
Schema
Array [
]
error
object
Represents details of an error.
The error code.
The description of the error.
Details for the errors of any parameter value.
fieldErrors
object[]
List of field errors associated with the main error.
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
{
"error": {
"code": "1000",
"message": "Internal Error",
"details": [
"An internal error occurred."
]
}
}