Get card details by card token

GET /api/Card/{cardToken}

Request URL

https:// .../api/Card/{cardToken}

Use this call to receive details for a specific card where {cardToken} is the card token ID. A sample request and response is below.

Sample request

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

Path parameter

Parameter

Description

cardToken
string

Token that the merchant stores.

Sample response

Click here to view the response attributes.

{
  "version": "1.0.0.0",
  "result": {
    "requestId": "1040dc2b-6d0e-4a2d-b307-7ece4731d48d",
    "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
  },
  "isSuccessfull": true
}

Did this page help you?