CardHolderUpdate
ProcessCardHolderUpdate API is used to update information on file for the user. If the email address is different then the one of file. The verification email will be sent to the user again. The cards access remains active and can still be used.
Authorization
- Name
Bearer Token- Type
- e865a1e59daa629a8ade53bdae8ae659
- Description
Header
- Name
Content-Type- Type
- application/json
- Description
Body
- Name
raw- Type
- json
- Description
JSON
{ "ServiceName": "CardHolderUpdate", "data": { "CustId": "E7D22940-E873-4DA4-8F29-5250B1272CE1", "ProgramId": "EFBF92FE-600C-499D-B561-61D47B57E16C", "Gender": "M", "FirstName": "John", "MiddleName": "", "LastName": "Don", "Address1": "54321 Mosaic Way", "Address2": "", "City": "Boise", "State": "ID", "Zip": "83701", "Country": "US", "Phone": "9999999999", "Email": "testcusotmer@mailinator.com", "BirthDate": 19911231, "SSN": 123456789, "groupNumber": "", "memberId": "" } }
Request
POST
https://YOURENDPOINT.virtualrx.co/jsonapi.phpcurl
--location 'https://YOURENDPOINT.virtualrx.co/jsonapi.php' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic WU9VUlVTRVJOQU1FOllPVVJQQVNTV09SRA==' \
--data-raw '{
"ServiceName": "CardHolderUpdate",
"data": {
"CustId": "E7D22940-E873-4DA4-8F29-5250B1272CE1",
"ProgramId": "EFBF92FE-600C-499D-B561-61D47B57E16C",
"Gender": "M",
"FirstName": "John",
"MiddleName": "",
"LastName": "Don",
"Address1": "54321 Mosaic Way",
"Address2": "",
"City": "Boise",
"State": "ID",
"Zip": "83701",
"Country": "US",
"Phone": "9999999999",
"Email": "testcusotmer@mailinator.com",
"BirthDate": 19911231,
"SSN": 123456789,
"groupNumber": "",
"memberId": ""
}
}'
Response
{
"ResponseDetails": {
"ServiceName": "CardHolderUpdate",
"SessionId": "8e4fc8e0-23e0-441a-91d9-14753745650e",
"StatusCode": "0",
"StatusName": "StatusOK",
"StatusDescription": "NA",
"ServiceDate": "2022-04-06 08:00:37",
"ServiceId": "8e4fc8e0-23e0-441a-91d9-14753745650e"
},
"ResponseParams": ""
}