Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 13
Next »
accounts_receivable_payment_preference object parameter data
| | |
---|
account_holder (optional) | String | The account holder of the retrieved payment preference |
is_default (mandatory) | Boolean | Defines if the payment preference is default or not. |
bank_account_number (optional) | String | The bank account number of the retrieved payment preference |
payment_preference_identifier
(mandatory) | Identifier | The identifier of the payment preference to be added on account payment preference object. The allowed payment preference identifier fields are the following: | | |
---|
id (semi-optional) | String | The ID of payment preference | name (semi-optional) | String | The name of payment preference | alternative_code (semi-optional) | String | The alternative code of payment preference |
|
bank_account_type_identifier (optional) | Identifier
| The identifier of the bank account type to be added on account payment preference object. The allowed bank account type identifier fields are the following: | | |
---|
id (semi-optional) | String | The ID of bank account type | name (semi-optional) | String | The name of bank account type | alternative_code (semi-optional) | String | The alternative code of bank account type |
|
bank_identifier (optional) | Identifier
| The identifier of the bank to be added on account payment preference object. The allowed bank identifier fields are the following: | | |
---|
id (semi-optional) | String | The ID of bank | name (semi-optional) | String | The name of bank | alternative_code (semi-optional) | String | The alternative code of bank |
|
bank_branch_identifier (optional) | Identifier
| The identifier of the bank branch to be added on account payment preference object. The allowed bank branch identifier fields are the following: | | |
---|
id (semi-optional) | String | The ID of bank branch | name (semi-optional) | String | The name of bank branch | alternative_code (semi-optional) | String | The alternative code of bank branch |
|
use_for_recurring_payments (optional) | Boolean | Indicates if the specific accounts receivable payment preference will be used to automatically pay any unsettled billes allocated to the related accounts receivable |
cards_set (mandatory on conditions) | Set of payment gateway cards objects | The cards that are related with the accounts receivable payment preference, in case the payment preference is related with a payment gateway such as Stripe. This information is applicable only if the payment preference is related with a payment gateway. In that case it is mandatory to specify at least one card, which also needs to be set as the default card |
Referred Objects Response Data
payment_gateway_card_parameters object data
Name | Type | Description |
number (semi-optional) | String | The card's number, which should be a 16 digits number |
last_digits (semi-optional) | Number | |
expiration_month (mandatory) | Number | The card's expiration month, which can be from 1 to 12 |
expiration_year (mandatory) | Number | The card's expiration year which should be a 4 digits number |
card_security_code (optional) | Number | The security code of the card, which should be a 3 digits number |
card_holder_name (mandatory) | String | The card holders name, as provided during the registration of the card |
brand (mandatory on conditions) | String | The card's brand, as provided by the payment gateway provider. The supported brands by the payment gateway are the following: - Stripe: VISA, AMERICAN_EXPRESS, MASTER_CARD, DISCOVER, JCB, DINERS_CLUB, UNKNOWN
- Braintree: VISA, AMERICAN_EXPRESS, MAESTRO, MASTER_CARD, DISCOVER, JCB, DINERS_CLUB
- Payeezy: VISA, AMERICAN_EXPRESS, MASTER_CARD, DISCOVER
- Swedbank: VISA, MAESTRO, MASTER_CARD
This attribute is mandatory for Payeezy Payment Gateway
|
same_as_billing_address (optional) | Boolean | Sets the card's billing address same as the account's receivable billing address |
address_line_1 (optional) | String | Information related with the card's billing address |
address_line_2 (optional) | String | Information related with the card's billing address |
address_city (optional) | String | Information related with the card's billing address |
address_zip (optional) | String | Information related with the card's billing address |
address_state (optional) | String | Information related with the card's billing address |
address_country (optional) | String | Information related with the card's billing address |
card_token (optional) | String | The token of the card that will be registered |
consumer_token (optional) | String | The consumer token of the card that will be registered |
default (mandatory) | Boolean | It defines the default payment gateway card that should be used while automatically creating payments against that specific accounts receivable. The default card is also set on payments done using the specific payment preference, although the user can modify this information, by selecting an additional card. |