Retrieves a token with a specified ID.
Token retrieved.
method required | string Payment method of the token. | ||||||||||||||||||||||||||||||||
required | object Payment card instrument details. | ||||||||||||||||||||||||||||||||
object Billing address object.
This value is required to perform payments.
For payment-card updates, | |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
id | string <= 50 characters ID of the token. | ||||||||||||||||||||||||||||||||
isUsed | boolean Default: false Specifies if the token has been used. | ||||||||||||||||||||||||||||||||
object (Risk metadata) Risk metadata used for 3D Secure and risk scoring. | |||||||||||||||||||||||||||||||||
createdTime | string <date-time> (CreatedTime) Date and time which is set automatically when the resource is created. | ||||||||||||||||||||||||||||||||
updatedTime | string <date-time> (UpdatedTime) Date and time which updates automatically when the resource is updated. | ||||||||||||||||||||||||||||||||
usageTime | string <date-time> Date and time when the token is used. | ||||||||||||||||||||||||||||||||
expirationTime | string <date-time> Date and time when the token expired. | ||||||||||||||||||||||||||||||||
Array of objects (SelfLink) Related links. | |||||||||||||||||||||||||||||||||
Unauthorized access. Invalid credentials used.
Access forbidden.
Resource not found.
$paymentCardToken = $client->paymentCardTokens()->load('tokenId');
{- "method": "payment-card",
- "paymentInstrument": {
- "expMonth": 0,
- "expYear": 0,
- "bin": "string",
- "last4": "string",
- "brand": "Visa"
}, - "billingAddress": {
- "firstName": "Benjamin",
- "lastName": "Franklin",
- "organization": "Rebilly",
- "address": "36 Craven St",
- "address2": "string",
- "city": "Austin",
- "region": "Texas",
- "country": "GB",
- "postalCode": "WC2N 5NF",
- "phoneNumbers": [
- {
- "label": "main",
- "value": "512-710-1640",
- "primary": true
}
], - "emails": [
- {
- "label": "main",
- "value": "rebilly@example.com",
- "primary": true
}
], - "dob": "1980-04-01",
- "jobTitle": "CEO",
- "hash": "056ae6d97c788b9e98b049ebafd7b229bf852221"
}, - "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "isUsed": false,
- "riskMetadata": {
- "ipAddress": "93.92.91.90",
- "fingerprint": "pIUt3xbgX3l9g3YDiLbx",
- "httpHeaders": {
- "Content-Type": "application/json",
- "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
}, - "browserData": {
- "colorDepth": 24,
- "isJavaEnabled": true,
- "language": "en-US",
- "screenWidth": 1920,
- "screenHeight": 1080,
- "timeZoneOffset": 300
}, - "extraData": {
- "kountFraudSessionId": "abcdefg12345abababab123456789012",
- "payPalMerchantSessionId": "dd65ratxc5qv15iph3vyoq7l6davuowa",
- "threatMetrixSessionId": "dd65ratxc5qv15iph3vyoq7l6davuowadd65ratxc5qv15iph3vyoq7l6davuowa"
}, - "isProxy": true,
- "isVpn": true,
- "isTor": true,
- "isHosting": true,
- "vpnServiceName": "string",
- "isp": "string",
- "country": "US",
- "region": "NY",
- "city": "New York",
- "latitude": 0,
- "longitude": 0,
- "postalCode": "string",
- "timeZone": "America/New_York",
- "accuracyRadius": 0,
- "distance": 0,
- "hasMismatchedBillingAddressCountry": true,
- "hasMismatchedBankCountry": true,
- "hasMismatchedTimeZone": true,
- "hasMismatchedHolderName": true,
- "hasFakeName": true,
- "isHighRiskCountry": true,
- "paymentInstrumentVelocity": 0,
- "declinedPaymentInstrumentVelocity": 0,
- "deviceVelocity": 0,
- "ipVelocity": 0,
- "emailVelocity": 0,
- "billingAddressVelocity": 0,
- "score": 0
}, - "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "usageTime": "2019-08-24T14:15:22Z",
- "expirationTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}