PaymentMethod Object Model
Object model for the PaymentMethod object
Information about the payment method for the transaction.
Method to use for the transaction. For transactions with a credit or debit card, or a tokenized card, use card
.
card
"card"
The card number. Required when method is card
and a storedMethodId isn't included.
20
"4111111111111111"
Card expiration date in format MMYY or MM/YY. This field is required when using the card
method.
5
"02/25"
Card Verification Value (CVV) associated with the card number. We strongly recommend that you include this field when using card
as a method.
4
"123"
ZIP code for the billing address of cardholder. We strongly recommend that you include this field when using card
as a method.
50
"12345"
Cardholder name.
250
"John Cassian"
Strongly recommended The cardholder-initiated transaction (CIT) or merchant-initiated transaction (MIT) indicator for the transaction. If you don't specify a value, Payabli defaults to merchant
.
Available values:
payor
: For cardholder-initiated transactionsmerchant
: For merchant-initiated transactions
See Understanding CIT and MIT Indicators for more information.
"payor"
When true
, Payabli saves the payment method if the transaction is successful. The payment method ID is returned in the response as methodReferenceId
. Defaults to false
.
Information about the payment method for the transaction.
Method to use for the transaction. For transactions with a credit or debit card, or a tokenized card, use card
.
card
"card"
The card number. Required when method is card
and a storedMethodId isn't included.
20
"4111111111111111"
Card expiration date in format MMYY or MM/YY. This field is required when using the card
method.
5
"02/25"
Card Verification Value (CVV) associated with the card number. We strongly recommend that you include this field when using card
as a method.
4
"123"
ZIP code for the billing address of cardholder. We strongly recommend that you include this field when using card
as a method.
50
"12345"
Cardholder name.
250
"John Cassian"
Strongly recommended The cardholder-initiated transaction (CIT) or merchant-initiated transaction (MIT) indicator for the transaction. If you don't specify a value, Payabli defaults to merchant
.
Available values:
payor
: For cardholder-initiated transactionsmerchant
: For merchant-initiated transactions
See Understanding CIT and MIT Indicators for more information.
"payor"
When true
, Payabli saves the payment method if the transaction is successful. The payment method ID is returned in the response as methodReferenceId
. Defaults to false
.
Information about the payment method for the transaction.
Method to use for the transaction. For ACH transactions or using a tokenized bank account, use ach
.
ach
"ach"
The checking accountholder's name.
250
"John Doe"
ABA/routing number of Bank account. This field is required when method = 'ach'.
9
"123123123"
Bank account number. This field is required when method = 'ach'.
4 - 17
"123123123"
Bank account type: Checking or Savings.
Checking
, Savings
The bank's accountholder type: personal or business.
personal
, business
Standard Entry Class (SEC) code is a a three letter code that describes how an ACH payment was authorized. Supported values are:
- PPD (Prearranged Payment and Deposit) - Used for credits or debits where an accountholder authorizes a company to initiate either a single or recurring transaction to their personal bank account. Common examples include direct deposit of payroll, mortgage payments, or utility bills. This is the default value for subscription payments.
- WEB (Internet-Initiated/Mobile Entry) - Used for debit entries when authorization is obtained from an accountholder via the internet or a wireless network. Common examples are online bill payments, ecommerce purchases, and mobile app payments where the consumer enters their banking information online.
- TEL (Telephone-Initiated Entry) - Used for one-time debit entries where authorization is obtained from a consumer via telephone. Common examples are phone-based purchases or bill payments where the consumer provides their banking information over the phone.
- CCD (Corporate Credit or Debit) - Used for fund transfers between business accounts. This code is specifically for business-to-business transactions. Common examples include vendor payments and other business-to-business payments.
When true
, Payabli saves the payment method if the transaction is successful. The payment method ID is returned in the response as methodReferenceId
. Defaults to false
.
Information about the payment method for the transaction.
Method to use for the transaction. Use either card
or ach
, depending on what kind of method was tokenized to use a saved payment method for this transaction.
card
, ach
"card"
Payabli identifier of a tokenized payment method.
"1ec55af9-7b5a-4ff0-81ed-c12d2f95e135-4440"
Strongly recommended The usage type for the stored method, used for merchant-initiated transactions (MIT). If you don't specify a value, Payabli defaults to unscheduled
.
Available values:
unscheduled
: This type is used for transactions that are one-time or otherwise not pre-scheduled.subscription
: This type is used for subscription payments. For example, monthly rental fees or ongoing service subscriptions.recurring
: This type is used for recurring payments that occur per a set plan. For example, splitting an HOA special assessment over 6 monthly payments.
See Understanding CIT and MIT Indicators for more information.
"subscription"
Strongly recommended The cardholder-initiated transaction (CIT) or merchant-initiated transaction (MIT) indicator for the transaction. If you don't specify a value, Payabli defaults to merchant
.
Available values:
payor
: For cardholder-initiated transactionsmerchant
: For merchant-initiated transactions
See Understanding CIT and MIT Indicators for more information.
"payor"
Information about the payment method for the transaction.
Method to use for the transaction. For cloud device transactions, the method is cloud
.
cloud
"cloud"
Identifier of registered cloud device used in the transaction.
"6c361c7d-674c-44cc-b790-382b75d1xxx"
When true
, Payabli saves the payment method if the transaction is successful. The payment method ID is returned in the response as methodReferenceId
. Defaults to false
.
Information about the payment method for the transaction.
Method to use for the transaction. Use check
for a paper check transaction. When the method is check
, then paymentDetails.checkNumber
is required.
check
"check"
The checking accountholder's name.
250
"John Doe"
Information about the payment method for the transaction.
Method to use for the transaction. For cash transactions, use cash
.
cash
"cash"
Information about the payment method for the transaction.
Method to use for the transaction.
card
, ach
, cloud
, check
, cash
The card number. Required when method is card
and a storedMethodId isn't included.
20
"4111111111111111"
Card expiration date in format MMYY or MM/YY. This field is required when using the card
method.
5
"02/25"
Card Verification Value (CVV) associated with the card number. We strongly recommend that you include this field when using card
as a method.
4
"123"
ZIP code for the billing address of cardholder. We strongly recommend that you include this field when using card
as a method.
50
"12345"
Cardholder name.
250
"John Cassian"
Bank account holder. This field is required for method
= 'ach' and method
= 'check'.
250
"John Doe"
ABA/routing number of Bank account. This field is required when method = 'ach'.
9
"123123123"
Bank account number. This field is required when method = 'ach'.
4 - 17
"123123123"
Bank account type: Checking or Savings.
Checking
, Savings
Standard Entry Class (SEC) code is a a three letter code that describes how an ACH payment was authorized. Supported values are:
- PPD (Prearranged Payment and Deposit) - Used for credits or debits where an accountholder authorizes a company to initiate either a single or recurring transaction to their personal bank account. Common examples include direct deposit of payroll, mortgage payments, or utility bills. This is the default value for subscription payments.
- WEB (Internet-Initiated/Mobile Entry) - Used for debit entries when authorization is obtained from an accountholder via the internet or a wireless network. Common examples are online bill payments, ecommerce purchases, and mobile app payments where the consumer enters their banking information online.
- TEL (Telephone-Initiated Entry) - Used for one-time debit entries where authorization is obtained from a consumer via telephone. Common examples are phone-based purchases or bill payments where the consumer provides their banking information over the phone.
- CCD (Corporate Credit or Debit) - Used for fund transfers between business accounts. This code is specifically for business-to-business transactions. Common examples include vendor payments and other business-to-business payments.
Payabli identifier of a tokenized payment method. If this field is used in a request, the method
field is overridden and the payment is made using the payment token.
"1ec55af9-7b5a-4ff0-81ed-c12d2f95e135-4440"
Strongly recommended The cardholder-initiated transaction (CIT) or merchant-initiated transaction (MIT) indicator for the transaction. If you don't specify a value, Payabli defaults to merchant
.
Available values:
payor
: For cardholder-initiated transactionsmerchant
: For merchant-initiated transactions
See Understanding CIT and MIT Indicators for more information.
"payor"
Strongly recommended The usage type for the stored method, used for merchant-initiated transactions (MIT). If you don't specify a value, Payabli defaults to unscheduled
.
Available values:
unscheduled
: This type is used for transactions that are one-time or otherwise not pre-scheduled.subscription
: This type is used for subscription payments. For example, monthly rental fees or ongoing service subscriptions.recurring
: This type is used for recurring payments that occur per a set plan. For example, splitting an HOA special assessment over 6 monthly payments.
See Understanding CIT and MIT Indicators for more information.
"subscription"
Identifier of registered cloud device used in the transaction.
"6c361c7d-674c-44cc-b790-382b75d1xxx"
When true
, Payabli saves the payment method if the transaction is successful. The payment method ID is returned in the response as methodReferenceId
. Defaults to false
.
Was this page helpful?