AccountUpdaterService-WebApi
Please note that at the moment this feature is only available in pilot.
Scroll down for code samples, example requests and responses.
Select a language for code samples from the tabs or the mobile navigation menu.
POST /inquiries
Parameters
Authorizationstringrequired
Authorization header using the Bearer scheme.
- C#
- PHP
- Node
- Shell
var client = new RestClient("https://sandbox.unifiedapi.nets.eu/api/v1/accountupdater//inquiries"); var request = new RestRequest(Method.POST); request.AddHeader("content-type", "application/json"); request.AddHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); request.AddParameter("application/json", "{\"REPLACE_REQUEST_BODY\":\"REPLACE_REQUEST_BODY\"}", ParameterType.RequestBody); IRestResponse response = client.Execute(request);
Request body
inquiriesarrayoptional
panstringoptional
expiryYearstringoptional
expiryMonthstringoptional
tokenstringoptional
- Card Inquiries
- Token Inquiries
{ "inquiries": [ { "pan": "string", "expiryYear": "string", "expiryMonth": "string", "token": null } ] }
Responses
201Created
inquiriesarrayoptional
tokenstringoptional
idstringoptional
401Unauthorizedoptional
typestringoptional
titlestringoptional
statusinteger (int32)optional
detailstringoptional
instancestringoptional
403Forbiddenoptional
typestringoptional
titlestringoptional
statusinteger (int32)optional
detailstringoptional
instancestringoptional
422Client Erroroptional
typestringoptional
titlestringoptional
statusinteger (int32)optional
detailstringoptional
instancestringoptional
- Card Inquiries
- Token Inquiries
- 401
- 403
- 422
{ "inquiries": [ { "reference": "string", "pan": "string" } ], "id": "string" }
GET /inquiries/{id}
Parameters
Authorizationstringrequired
Authorization header using the Bearer scheme.
idstringrequired
- C#
- PHP
- Node
- Shell
var client = new RestClient("https://sandbox.unifiedapi.nets.eu/api/v1/accountupdater//inquiries/{id}"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); IRestResponse response = client.Execute(request);
Responses
200Success
idstringoptional
statusstringoptional
InProgress
,Completed
,Failed
inquiriesarrayoptional
statusstringoptional
Active
,Closed
,Renewed
,Replaced
,Unknown
,ContactCardHolder
,Failed
401Unauthorizedoptional
typestringoptional
titlestringoptional
statusinteger (int32)optional
detailstringoptional
instancestringoptional
403Forbiddenoptional
typestringoptional
titlestringoptional
statusinteger (int32)optional
detailstringoptional
instancestringoptional
404Not Foundoptional
typestringoptional
titlestringoptional
statusinteger (int32)optional
detailstringoptional
instancestringoptional
- InProgress
- Failed
- Completed card inquiries
- Completed token inquiries
- 401
- 403
- 404
{ "id": "string", "status": "InProgress" }