/
Retrieve tokens
Retrieve a list of tokens.
Security
SecretApiKey or JWT
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/tokens
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/tokens
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/tokens
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/tokens?limit=0&offset=0' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'List of tokens retrieved.
Headers
Total number of items that match the request. The value is independent of limit, including when limit is 0.
Example:332
Array []
Billing address object. This value is required to perform payments. For payment-card updates, billingAddress can be ignored.
ID of the token.
Example:"4f6cf35x-2c4y-483z-a0a9-158621f77a21"
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
Response
[ { "method": "payment-card", "paymentInstrument": { … }, "billingAddress": { … }, "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21", "isUsed": false, "riskMetadata": { … }, "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": [ … ] } ]