PaymentSource

A Payment Source is a method of payment associated to a specific customer.

It can be added using the Stronghold JS client.

The same customer can have the same account added multiple times using different data aggregators. The unique_hash property value allows to recognize entries representing the same underlying account.

object
id
string

The ID of the payment source.

1 validation + required
type
string

The type of the payment source.

1 validation + required
label
string

A display-safe label for the source.

1 validation + required
active
boolean

The current activation status of the payment source.

1 validation + required
unique_hash
string

Unique hash for the payment source, identifying a single payment account. Can be used to distinguish payment sources where those payment sources may represent the same underlying payment account.

1 validation + required
subtype
string

The subtype of the payment source.

1 validation + required
provider_name
string

The name of the provider managing the payment source.

1 validation + required
last4
string

The last 4 chars of the number identifying the payment source (account number, card, etc.).

1 validation + required