GetCardDetails
Get Details on card including meta data and debit card info.
| Name | Required | Definition |
|---|---|---|
| CustId | Y | Customer ID |
| ProgramId | Y | Program ID |
| IncludeCustomerInfo | Y | Y or N on weather you want the customer demographics including first_name, last_name and others. |
Authorization
- Name
Bearer Token- Type
- e865a1e59daa629a8ade53bdae8ae659
- Description
Header
- Name
Content-Type- Type
- application/json
- Description
Body
- Name
raw- Type
- json
- Description
JSON
{ "ServiceName": "GetCardDetails", "data": { "CustId": "E7D22940-E873-4DA4-8F29-5250B1272CE1", "ProgramId": "EFBF92FE-600C-499D-B561-61D47B57E16C", "IncludeCustomerInfo": "Y" } }
Request
POST
https://YOURENDPOINT.virtualrx.co/jsonapi.phpcurl
--location 'https://YOURENDPOINT.virtualrx.co/jsonapi.php' \
--header 'Content-Type: application/json' \
--data '{
"ServiceName": "GetCardDetails",
"data": {
"CustId": "E7D22940-E873-4DA4-8F29-5250B1272CE1",
"ProgramId": "EFBF92FE-600C-499D-B561-61D47B57E16C",
"IncludeCustomerInfo": "Y"
}
}'
Response
{
"ResponseDetails": {
"ServiceName": "GetCardDetails",
"SessionId": "506D3B14-A83A-1418-1F9E-7BB89A86C451",
"StatusCode": "0",
"StatusName": "StatusOK",
"StatusDescription": "NA",
"ServiceDate": "2022-05-18 15:29:09",
"ServiceId": "506D3B14-A83A-1418-1F9E-7BB89A86C451"
},
"ResponseParams": {
"CustId": "E7D22940-E873-4DA4-8F29-5250B1272CE1",
"ProgramId": "EFBF92FE-600C-499D-B561-61D47B57E16C",
"groupNumber": "",
"memberId": "",
"CustomerCreated_Timestamp": "2022-05-13 07:17:12",
"CustomerVerified": "Y",
"CustomerVerified_Timestamp": "2022-05-13 07:21:46",
"CustomerActivated": "Y",
"CustomerActivated_Timestamp": "2022-05-13 07:25:04",
"VRXID": "2510781",
"CardAvailableBalance": "5"
}
}