Retrieve the provider token using country code and SDK version.

POST {{baseUrl}}/access-tokens

Returns a SDK Token token to be passed to the MIDS verification SDK module.
This API is mandatory.

Request Body

{"countryCode"=>"US", "sdkVersion"=>"2.3.0", "channelType"=>"WEB", "userProfileId"=>"df52649e-4096-456a-bca0-751ee470009f", "enrollmentOrigin"=>"RETAIL", "sdkAuditEvents"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "tpAuditMetadata"=>{"sessionId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "transactionGroupId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "arid"=>"a15fa6de-b199-11eb-8529-0242ac130003"}

HEADERS

KeyDatatypeRequiredDescription
X-Encrypted-PayloadbooleanAn indicator that the request is encrypted or indicates that the client is able to receive an encrypted response. If not set, the payload will be treated as plaintext.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;transactionId&quot;:&quot;1ec14310-e85c-11ea-adc1-0242ac120002&quot;,&quot;sdkToken&quot;:&quot;eyJhbGciOiJIUzUxMiIsInppcCI6IkdaSVAifQ.H4sIAAAAAAAAAB3NQQpCMQwE0Lt0baBJ0yZ159KtN0jTBgTBjYgg3t3__3KGN8w3rc_llc4JG6KUhrmoYjolc7_OvWfPKJ2hUzNgagE2hcC5hsYIUeOdH7gStVr6AtElwNUcrBNDFppYMjqxb9hvKzb9fNzfa4_HVkORomdoggsYp8HgPqAWF43VtsOcfn_stx4UsAAAAA.tDRVowYYcpQ03Vlt7D3MiovleiyRFQMv4qzXb7Lf_6CarphRrlWXan8-jE-YesNiAiT8tk0b-i8TKHGrcgT1VQ&quot;,&quot;apiDataCenter&quot;:&quot;SG&quot;}