GET
/
TokenStorage
/
{methodId}
curl --request GET \
  --url https://api-sandbox.payabli.com/api/TokenStorage/{methodId} \
  --header 'requestToken: <api-key>'
{
  "responseText": "Success",
  "isSuccess": true,
  "responseData": {
    "customers": [
      {
        "customerId": 1456,
        "customerNumber": "CS789",
        "customerUsername": "Marcus",
        "customerStatus": 1,
        "company": "Bluesky Tech Inc",
        "firstname": "Marcus",
        "lastname": "Chen",
        "phone": "+14156789012",
        "email": "marcus@blueskytech.com",
        "address": "742 Innovation Ave",
        "address1": "Suite 500",
        "city": "San Francisco",
        "state": "CA",
        "zip": "94105",
        "country": "US",
        "shippingAddress": "742 Innovation Ave",
        "shippingAddress1": "Suite 500",
        "shippingCity": "San Francisco",
        "shippingState": "CA",
        "shippingZip": "94105",
        "shippingCountry": "US",
        "balance": 250,
        "timeZone": -8,
        "mfa": true,
        "mfaMode": 1,
        "snProvider": null,
        "snIdentifier": null,
        "snData": null,
        "lastUpdated": "2024-12-15T09:45:32.123",
        "created": "2023-06-01T14:30:00",
        "additionalFields": {
          "clientId": "901555",
          "invoiceScheduled": "true",
          "invoiceFrequency": "monthly",
          "invoiceStartDate": "Mon Jan 15 2024 00:00:00 GMT-0800 (Pacific Standard Time)",
          "additionalProp1": "enterpriseClient"
        },
        "identifierFields": [
          "firstname",
          "email"
        ],
        "subscriptions": null,
        "storedMethods": null,
        "customerSummary": null,
        "paypointLegalname": "Bluesky Technologies LLC",
        "paypointDbaname": "Bluesky Tech",
        "parentOrgName": "TechCorp",
        "parentOrgId": 5,
        "paypointEntryname": "45782932fcc",
        "pageindentifier": null,
        "externalPaypointID": null,
        "customerConsent": null
      }
    ],
    "idPmethod": "81f7fde1-dd8b-4892-b2e1-cd60dd91f6b4-XXXC",
    "method": "card",
    "descriptor": "visa",
    "maskedAccount": "4XXXXXXX2345",
    "expDate": "0926",
    "holderName": "Marcus Chen",
    "bin": "401288",
    "binData": {
      "binMatchedLength": "6",
      "binCardBrand": "VISA",
      "binCardType": "CREDIT",
      "binCardCategory": "CLASSIC",
      "binCardIssuer": "CHASE",
      "binCardIssuerCountry": "UNITED STATES",
      "binCardIssuerCountryCodeA2": "US",
      "binCardIssuerCountryNumber": "840"
    },
    "aba": "",
    "postalCode": "94105",
    "methodType": "Single Merchant",
    "lastUpdated": "2025-01-15T16:30:22.45502"
  }
}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Path Parameters

methodId
string
required

The saved payment method ID.

Query Parameters

cardExpirationFormat
integer
default:0

Format for card expiration dates in the response.

Accepted values:

  • 0: default, no formatting. Expiration dates are returned in the format they're saved in.

  • 1: MMYY

  • 2: MM/YY

Example:

1

includeTemporary
boolean
default:false

When true, the request will include temporary tokens in the search and return details for a matching temporary token. The default behavior searches only for permanent tokens.

Example:

false

Response

200
application/json
Success
isSuccess
boolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

Example:

true

responseText
string | null

Response text for operation: 'Success' or 'Declined'.

Example:

"Success"

responseData
object | null

The object containing the response data.