Token/Get
Test the web service using our playground: Token/Get
Sample query
{ "paymentMethodToken": "35be771eec0a46a780e99eeb0908f641" }
Token response example
{ "webService": "Token/Get", "version": "V4", "applicationVersion": "5.30.0", "status": "SUCCESS", "answer": { "status": "ACTIVE", "paymentMethodToken": "35be771eec0a46a780e99eeb0908f641", "paymentMethodType": "CARD", "creationDate": "2022-01-21T10:02:49+00:00", "cancellationDate": null, "customer": { "billingDetails": { "address": null, "category": null, "cellPhoneNumber": null, "city": null, "country": null, "district": null, "firstName": null, "identityCode": null, "language": "FR", "lastName": null, "phoneNumber": null, "state": null, "streetNumber": null, "title": null, "zipCode": null, "legalName": null, "_type": "V4/Customer/BillingDetails" }, "email": "sample@example.com", "reference": "myCustomerRef-123456", "shippingDetails": { "address": null, "address2": null, "category": null, "city": null, "country": null, "deliveryCompanyName": null, "district": null, "firstName": null, "identityCode": null, "lastName": null, "legalName": null, "phoneNumber": null, "shippingMethod": null, "shippingSpeed": null, "state": null, "streetNumber": null, "zipCode": null, "_type": "V4/Customer/ShippingDetails" }, "extraDetails": { "browserAccept": null, "fingerPrintId": null, "ipAddress": "185.244.73.2", "browserUserAgent": null, "_type": "V4/Customer/ExtraDetails" }, "shoppingCart": null, "_type": "V4/Customer/Customer" }, "tokenDetails": { "authorizationResponse": { "amount": null, "currency": null, "authorizationDate": "2022-01-21T10:02:49+00:00", "authorizationNumber": "3fc93d", "authorizationResult": null, "authorizationMode": null, "_type": "V4/PaymentMethod/Details/Cards/CardAuthorizationResponse" }, "paymentSource": null, "pan": "510001XXXXXX0106", "expiryMonth": 12, "expiryYear": 2025, "effectiveBrand": "MASTERCARD", "issuerCode": null, "issuerName": null, "effectiveProductCode": null, "country": null, "mid": null, "authenticationResponse": { "id": "edb88740-620e-45eb-a6a7-46fac3cb7e5d", "protocol": { "name": "THREEDS", "version": "2.1.0", "network": "MASTERCARD", "challengePreference": "CHALLENGE_MANDATED", "simulation": true, "_type": "V4/Charge/Authenticate/Protocol" }, "value": { "authenticationType": "CHALLENGE", "authenticationId": { "authenticationIdType": "dsTransId", "value": "0d7fc0f6-106f-4fb7-8bec-84a04d1293ce", "_type": "V4/Charge/Authenticate/AuthenticationId" }, "authenticationValue": { "authenticationValueType": "AAV", "value": "w**************************=", "_type": "V4/Charge/Authenticate/AuthenticationValue" }, "status": "SUCCESS", "commerceIndicator": "05", "extension": { "authenticationType": "THREEDS_V2", "threeDSServerTransID": "edb88740-620e-45eb-a6a7-46fac3cb7e5d", "dsTransID": "0d7fc0f6-106f-4fb7-8bec-84a04d1293ce", "acsTransID": "5810a28e-6aa6-4bb5-ac98-be827512d533", "_type": "V4/Charge/Authenticate/AuthenticationResultExtensionThreedsV2" }, "reason": { "_type": "V4/Charge/Authenticate/AuthenticationResultReason" }, "_type": "V4/Charge/Authenticate/AuthenticationResult" }, "_type": "V4/AuthenticationResponseData" }, "_type": "V4/PaymentMethod/Details/TokenDetails" }, "_type": "V4/Token" }, "ticket": "74a5c5987069405da62dc4958f76fb0d", "serverDate": "2022-01-21T10:08:44+00:00", "applicationProvider": "", "metadata": null, "mode": "TEST", "serverUrl": "https://api.secure.osb.pf", "_type": "V4/WebService/Response" }