PaymentMethod Properties |
The PaymentMethod type exposes the following members.
Name | Description | |
---|---|---|
![]() | billing_address_id |
The billing address id from braintree
|
![]() | card_number |
The credit card number, without formatting. This number is transitory and not stored in the database,
but only transmitted to Braintree to be authenticated and stored in the Braintree vault.
|
![]() | card_type |
Credit card type as returned by Braintree
|
![]() | city |
The Payment Method's city.
|
![]() | customer_id |
The customer ID
|
![]() | customer_nm |
The customer name
|
![]() | customer_phone |
The customer phone number
|
![]() | cvv2 |
The credit card CVV. This number is transitory and not stored in the database,
but only transmitted to Braintree to be authenticated and stored in the Braintree vault.
|
![]() | expires |
The payment method expiration date.
|
![]() | expires_month |
Month that the card expires. 1 == Jan.
|
![]() | expires_year |
Year that the card expires. Should be 4 digits. (2018)
|
![]() | first_nm |
The owner's first name.
|
![]() | is_active |
Specifies whether or not this payment method is currently active.
|
![]() | is_default |
Specifies whether or not this payment method is the owner's default payment method.
|
![]() | last_nm |
The owner's last name.
|
![]() | last4 |
Card last 4 digits
|
![]() | nonce |
The Braintree one-time nonce used to authenticate and register the payment method with Braintree.
|
![]() | payment_method_id |
The primary key for the payment method.
|
![]() | payment_method_nm |
The user-provided nickname for the payment method.
|
![]() | payment_token |
Token from braintree to store in order to retrieve the payment information later.
|
![]() | postal_code |
The owner's postal code.
|
![]() | state |
The Payment Method's state.
|
![]() | street_address |
The Payment Method's street address.
|
![]() | street_address_2 |
The Payment Method's secondary street address (eg. Suite #, Apartment #).
|
![]() | transaction_id |
The ID of the Braintree transaction used to authenticate and register the payment method with Braintree.
|