Get card information

GET /api/Card

Request URL

https:// .../api/Card

Use this call to receive card information. You can add query parameters to narrow down the search results. A sample request and response is below.

Sample request

curl --location --request 
GET 'https://pushtopaystaging.crbnj.net/api/card/'
--header 'Accept: application/json'
--header 'Authorization: Bearer /{xxx}' https://pushtopaystaging.crbnj.net/api/Card'

Query parameters

Parameter

Description

dateAddedFrom
date/time

Date cards were added (for the beginning of a date range query).

dateAddedTo
date/time

Date cards were added (for the end of a date range query).

firstName
string

Cardholder's first name.

lastName
string

Cardholder's last name.

isActive
boolean

Whether the card is active.
True if the card is active, otherwise false.

cardCompany
string

Name of the company who issued the card.

pageNumber
integer

The current page number determined by the total number of transactions and the number of transactions per page.

pageSize
integer

Number of transactions to list on a page.

Sample response

Click here to view the response attributes.

{
  "version": "1.0.0.0",
  "result": {
        "requestId": "31c3512f-d15b-46a3-ba7c-d2cd0b69568f",
        "cardToken": "1XA580I8W75UW5TF5TWZ11MVL1MH1QIVSNG3MO",
        "firstName": "Bobby",
        "lastName": "Builderino",
        "ownerExternalId": null,
        "address1": "1357 Odd Street",
        "address2": null,
        "city": "Venice",
        "zipCode": "24680",
        "isAuthorizationSucceeded": true,
        "state": "OH",
        "countryCode": "US",
        "phoneNumber": "5553455679",
        "email": "[email protected]",
        "expirationYear": "22",
        "expirationMonth": "05",
        "last4Digits": "4444",
        "cardCompany": "MasterCard",
        "isActive": false,
        "deactivatedAt": "2020-03-29T12:11:24.593",
        "addedOn": "2020-03-24T09:28:07.333",
        "rail": "McSend",
        "authorizationJson": "{\r\n  \"PushCardID\": \"b2eee733-80c4-4508-acd5-c2826c8e4153\",\r\n  \"Authorized\": true,\r\n  \"ResponseReceived\": true,\r\n  \"ResponseCode\": \"OK\",\r\n  \"ResponseDescription\": \"OK\",\r\n  \"Timestamp\": \"2020-03-24T13:28:07.3240774Z\",\r\n  \"Error\": null,\r\n  \"AddressVerified\": true,\r\n  \"Rail\": \"mcSend\",\r\n  \"CardType\": \"debit\",\r\n  \"IsFastFundsSupported\": null\r\n}",
        "isFastFundsSupported": null
      },
    "pageNumber": 1,
    "pageSize": 3,
    "hasPreviousPage": false,
    "hasNextPage": false
  },
  "isSuccessfull": true
}

Did this page help you?