Payment Profiles

Read one time token details

GET
/one_time_tokens/{chargify_token}.json

Returns the one-time token data, including credit card or ACH details, associated with the provided token ID. One Time Tokens aka Advanced Billing Tokens house the credit card or ACH (Authorize.Net or Stripe only) data for a customer.

You can use One Time Tokens while creating a subscription or payment profile instead of passing all bank account or credit card data directly to a given API endpoint.

To obtain a One Time Token you have to use Chargify.js.

Authorization

BasicAuth
AuthorizationBasic <token>

The username is a Maxio Chargify API key. The password is x.

In: header

Path Parameters

chargify_token*string

Advanced Billing Token

Response Body

application/json

application/json

curl -X GET "https://example.com/one_time_tokens/string.json"
{  "payment_profile": {    "id": null,    "first_name": "string",    "last_name": "string",    "masked_card_number": "string",    "card_type": "",    "expiration_month": 0,    "expiration_year": 0,    "customer_id": null,    "current_vault": "adyen",    "vault_token": "string",    "billing_address": "string",    "billing_address_2": "string",    "billing_city": "string",    "billing_country": "string",    "billing_state": "string",    "billing_zip": "string",    "payment_type": "string",    "disabled": true,    "site_gateway_setting_id": 0,    "customer_vault_token": null,    "gateway_handle": null  }}