Get card details by card token
GET /api/Card/{cardToken}
Use this call to receive details for a specific card where {cardToken} is the card token ID which was returned to you.
Path parameter
Parameter | Description |
---|---|
cardToken string | Token for the signed-up debit card. Required |
Sample request GET /api/Card/{cardToken}
curl --location --request GET 'https://pushtopaystaging.crbnj.net/api/card/cardToken/{xxxxxxxxx}
--header 'Accept: application/json'
--header 'Authorization: <Bearer token>' 'https://pushtopaystaging.crbnj.net/api/Card'
Response attributes
Attribute | Description |
---|---|
RequestId GUID | Unique customer generated request ID. |
cardToken string | Token for the signed-up debit card. |
firstName string | First name. |
lastName string | Last name. |
ownerExternalId string | 4-digit code merchant assigns. |
address1 string | Address line 1. |
address2 string | Address line 2. |
city string | City. |
zipCode string | Zip code. |
isAuthorizationSucceeded boolean | True if card was authorized successfully, otherwise false. |
state string | 2-digit State. |
countryCode string | 2 letter country code. |
phoneNumber string | Phone number. No dashes required. |
email string | Email address. |
expirationYear string | 2-digit year. Must be a future year. |
expirationMonth string | 2-digit month. |
last4Digits string | Last 4-digits of the credit card number. |
cardCompany string | Card network. - Visa - Mastercard - ET - PULSE - STAR - NYCE - Accel - RPPS - MoneySend |
isActive boolean | True if the card is active, otherwise false. |
deactivatedAt string | Date and time the card was added. |
authorizationJson string | The JSON authorization response received for this card. |
isFastFundsSupported boolean | Fast funds are immediate payments. True if fast funds is supported, otherwise false. |
rail string | The processor used to perform the transaction - RS2 - McSend - TabaPay |
Sample response GET /api/Card/{cardToken}
{
"result": {
"requestId": "1040dc2b-6d0e-4a2d-b307-7ece4731d48d",
"cardToken": "1XA580I8W75UW5TF5TWZ11MVL1MH1QIVSNG3MO",
"firstName": "Miguel",
"lastName": "Nelson",
"ownerExternalId": null,
"address1": "250 Kuhn Highway",
"address2": null,
"city": "Grover",
"zipCode": "28073",
"isAuthorizationSucceeded": true,
"state": "NC",
"countryCode": "US",
"phoneNumber": "9642235679",
"email": "[email protected]",
"expirationYear": "30",
"expirationMonth": "05",
"last4Digits": "4444",
"cardCompany": "MasterCard",
"isActive": false,
"deactivatedAt": "2022-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
},
}
Updated 8 months ago