FramePay is the recommended way to create a payment token because it minimizes PCI DSS compliance. Once a payment token is created, it can only be used once.
A payment token expires upon first use or within 30 minutes of the token creation (whichever comes first).
Organization-Id | string (ResourceId) <= 50 characters Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21 Organization identifier in scope of which need to perform request (if not specified, the default organization will be used). |
PaymentToken resource.
method required | string Value: "payment-card" The token payment method. |
required | object The payment card instrument details. |
object The billing address object. | |
object (Browser data) Browser data used for 3DS and risk scoring. | |
object |
Rate-Limit-Limit | integer The number of allowed requests in the current period. |
Rate-Limit-Remaining | integer The number of remaining requests in the current period. |
Rate-Limit-Reset | string The date in format defined by RFC 822 when the current period will reset. |
method required | string Value: "payment-card" The token payment method. |
required | object The payment card instrument details. |
object The billing address object. | |
id | string <= 50 characters The token identifier string. |
isUsed | boolean Default: false Whether the token was already used. |
object (Browser data) Browser data used for 3DS and risk scoring. | |
createdTime | string <date-time> Token created time. |
updatedTime | string <date-time> Token updated time. |
usageTime | string <date-time> Token usage time. |
expirationTime | string <date-time> Token expiration time. |
Array of objects (SelfLink) non-empty The links related to resource. |
{- "method": "payment-card",
- "paymentInstrument": {
- "pan": "string",
- "cvv": "string",
- "expMonth": 0,
- "expYear": 0
}, - "billingAddress": {
- "firstName": "Benjamin",
- "lastName": "Franklin",
- "organization": null,
- "address": "36 Craven St",
- "address2": "string",
- "city": "London",
- "region": "London",
- "country": "GB",
- "postalCode": "WC2N 5NF",
- "phoneNumbers": [
- {
- "label": "main",
- "value": "512-710-1640",
- "primary": true
}
], - "emails": [
- {
- "label": "main",
- "value": "rebilly@example.com",
- "primary": true
}
]
}, - "browserData": {
- "acceptHeader": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
- "colorDepth": 24,
- "ipAddress": "93.92.91.90",
- "javaEnabled": true,
- "language": "en-US",
- "screenHeight": 900,
- "screenWidth": 1440,
- "timeZoneOffset": 300,
- "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36\n",
- "deviceFingerprintHash": "pIUt3xbgX3l9g3YDiLbx"
}, - "leadSource": {
- "medium": "string",
- "source": "string",
- "campaign": "string",
- "term": "string",
- "content": "string",
- "affiliate": "string",
- "subAffiliate": "string",
- "salesAgent": "string",
- "clickId": "string",
- "path": "string",
- "referrer": "string"
}
}
{- "method": "payment-card",
- "paymentInstrument": {
- "expMonth": 0,
- "expYear": 0,
- "bin": "string",
- "last4": "string",
- "brand": "Visa"
}, - "billingAddress": {
- "firstName": "Benjamin",
- "lastName": "Franklin",
- "organization": null,
- "address": "36 Craven St",
- "address2": "string",
- "city": "London",
- "region": "London",
- "country": "GB",
- "postalCode": "WC2N 5NF",
- "phoneNumbers": [
- {
- "label": "main",
- "value": "512-710-1640",
- "primary": true
}
], - "emails": [
- {
- "label": "main",
- "value": "rebilly@example.com",
- "primary": true
}
], - "hash": "056ae6d97c788b9e98b049ebafd7b229bf852221"
}, - "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "isUsed": false,
- "browserData": {
- "acceptHeader": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
- "colorDepth": 24,
- "ipAddress": "93.92.91.90",
- "javaEnabled": true,
- "language": "en-US",
- "screenHeight": 900,
- "screenWidth": 1440,
- "timeZoneOffset": 300,
- "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36\n",
- "deviceFingerprintHash": "pIUt3xbgX3l9g3YDiLbx"
}, - "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": [
- {
- "rel": "self",
- "href": "string"
}
]
}