The token object

{
	"id": "aH79qManT3uP4vCKzUiryQ",
	"type": "card",
	"client_ip": "127.0.0.1",
	"created_at": 1627464935,
	"fingerprint": "-hzCuTB1NmGekIyKul2aRAH2rMsbJwKUAvMmQfApbv8",
	"merchant": "7qc0R04oQ0uyGG8goQqHrg",
	"usage": "single_use",
	"customer": "",
	"card": {
		"name": "John Doe",
		"last4": "4242",
		"brand": "visa",
		"exp_month": 12,
		"exp_year": 2022,
		"address_line1": "Address Line 1",
		"address_line2": "",
		"address_city": "Address City",
		"address_country": "",
		"address_zip": "24310",
		"address_state": "sk"
	}
}
Field
Type
Description

id

string

Unique identifier for the object.

card

hash

Hash describing the card used to make a transaction.

card[name]

string

The cardholder name.

card[exp_month]

number

Two-digit number representing the card’s expiration month.

card[exp_year]

number

Four-digit number representing the card’s expiration year.

card[last4]

string

The last four digit of the credit card.

card[brand]

string

The card brand name.

card[customer]

string

Represent the id of the customer that the card belongs to.

card[address_line1]

string

Line1 of the cardholder address.

card[address_line2]

string

Line2 of the cardholder address.

card[address_city]

string

City of the cardholder address.

card[address_state]

string

Iso 3166-2 code that represent a valid state address.

card[address_zip]

string

Zip code of the cardholder address.

card[address_country]

string

Iso code 2 that represent a valid country.

card[fingerprint]

string

Contain the hash from the card number.

bank_account[account_holder_name]

string

The name of the person or business that owns the bank account.

bank_account[account_holder_type]

string

The type of entity that holds the account. This can be either individual, company

bank_account[bank_name]

string

Name of the bank associated with the routing number.

bank_account[country]

string

Two-letter ISO code representing the country the bank account is located in.

bank_account[currency]

string

Two-letter ISO code for the currency paid out to the bank account.

fingerprint

string

Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.

bank_account[routing_number]

string

The routing transit number for the bank account.

bank_account[saving]

boolean

True if the bank account is a saving account

trustly[transaction_id]

string

Trustly transaction id.

trustly[token]

string

Truslty token.

trustly[reference]

string

Trustly reference.

trustly[account_holder_name]

string

Trustly account holder name.

trustly[account_holder_type]

string

Trustly account holder type.

trustly[bank_name]

string

Trustly bank name.

trustly[country]

string

Trustly country.

trustly[last4]

string

Trustly account last4.

trustly[routing_number]

string

Trustly account routing number.

trustly[account_id]

string

Trustly account id.

trustly[instant_payout]

string

True if it the account can be used on instant payout.

client_ip

string

IP address of the client that generate the token.

created

int

The unix timestamp when the token was created.

type

string

Type of the token: card, bank_account, trustly.

customer

string

ID of the customer that token belongs to if any.

Last updated