The Mandate object ​
Attributes ​
id(string) Unique identifier for the object.object(string) String representing the object’s type. Objects of the same type share the same value.customer_acceptance(object) Details about the customer’s acceptance of the mandate.customer_acceptance.accepted_at(timestamp, nullable) The time that the customer accepts the mandate.customer_acceptance.offline(object, nullable) If this mandate is accepted offline, this hash provides details about the offline acceptance.customer_acceptance.online(object, nullable) If this mandate is accepted online, this hash provides details about the online acceptance.customer_acceptance.online.ip_address(string, nullable) The customer accepts the mandate from this IP address.customer_acceptance.online.user_agent(string, nullable) The customer accepts the mandate using the user agent of the browser.
customer_acceptance.type(enum) The mandate includes the type of customer acceptance information, such as:onlineoroffline. Possible enum values:offlineonline
livemode(boolean) If the object exists in live mode, the value istrue. If the object exists in test mode, the value isfalse.multi_use(object, nullable) If this is amulti_usemandate, this hash contains details about the mandate.multi_use.amount(integer, nullable) The amount of the payment on a multi use mandate.multi_use.currency(enum, nullable) The currency of the payment on a multi use mandate.
on_behalf_of(string, nullable) The account (if any) that the mandate is intended for.payment_method(string, expandable (can be expanded into an object with theexpandrequest parameter)) ID of the payment method associated with this mandate.payment_method_details(object) Additional mandate information specific to the payment method type.payment_method_details.acss_debit(object, nullable) If this mandate associates with aacss_debitpayment method, this hash contains mandate information specific to theacss_debitpayment method.payment_method_details.acss_debit.default_for(array of enums, nullable) List of Stripe products where this mandate can be selected automatically. Possible enum values:invoiceEnables payments for Stripe Invoices. ‘subscription’ must also be provided.subscriptionEnables payments for Stripe Subscriptions. ‘invoice’ must also be provided.
payment_method_details.acss_debit.interval_description(string, nullable) Description of the interval. Only required if the ‘payment_schedule’ parameter is ‘interval’ or ‘combined’.payment_method_details.acss_debit.payment_schedule(enum) Payment schedule for the mandate. Possible enum values:combinedPayments can be initiated at a pre-defined interval or sporadicallyintervalPayments are initiated at a regular pre-defined intervalsporadicPayments are initiated sporadically
payment_method_details.acss_debit.transaction_type(enum) Transaction type of the mandate. Possible enum values:businessTransactions are made for business reasonspersonalTransactions are made for personal reasons
payment_method_details.amazon_pay(object, nullable) If this mandate associates with aamazon_paypayment method, this hash contains mandate information specific to theamazon_paypayment method.payment_method_details.au_becs_debit(object, nullable) If this mandate associates with aau_becs_debitpayment method, this hash contains mandate information specific to theau_becs_debitpayment method.payment_method_details.au_becs_debit.url(string) The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively.
payment_method_details.bacs_debit(object, nullable) If this mandate associates with abacs_debitpayment method, this hash contains mandate information specific to thebacs_debitpayment method.payment_method_details.bacs_debit.display_name(string, nullable) The display name for the account on this mandate.payment_method_details.bacs_debit.network_status(enum) The status of the mandate on the Bacs network. Can be one ofpending,revoked,refused, oraccepted. Possible enum values:acceptedpendingrefusedrevoked
payment_method_details.bacs_debit.reference(string) The unique reference identifying the mandate on the Bacs network.payment_method_details.bacs_debit.revocation_reason(enum, nullable) When the mandate is revoked on the Bacs network this field displays the reason for the revocation. Possible enum values:account_closedThe bank account has been closed. Refer to the customer to collect a new mandate.bank_account_restrictedThe bank account has restrictions on either the type or the number of payouts allowed. This normally indicates that the bank account is a savings or other non-checking account. Refer to the customer to collect a new mandate.bank_ownership_changedThe destination bank account is no longer valid because it has been transferred to a new bank or to a new branch. A new mandate with the updated account details has been submitted on your behalf and you will be notified when it is accepted.could_not_processThe bank could not process this payout. Refer to the customer to collect a new mandate.debit_not_authorizedDebit transactions are not approved on this bank account. Refer to the customer to collect a new mandate.
payment_method_details.bacs_debit.service_user_number(string, nullable) The service user number for the account on this mandate.payment_method_details.bacs_debit.url(string) The URL that will contain the mandate that the customer has signed.
payment_method_details.card(object, nullable) If this mandate associates with acardpayment method, this hash contains mandate information specific to thecardpayment method.payment_method_details.cashapp(object, nullable) If this mandate associates with acashapppayment method, this hash contains mandate information specific to thecashapppayment method.payment_method_details.kakao_pay(object, nullable) If this mandate associates with akakao_paypayment method, this hash contains mandate information specific to thekakao_paypayment method.payment_method_details.klarna(object, nullable) If this mandate associates with aklarnapayment method, this hash contains mandate information specific to theklarnapayment method.payment_method_details.kr_card(object, nullable) If this mandate associates with akr_cardpayment method, this hash contains mandate information specific to thekr_cardpayment method.payment_method_details.link(object, nullable) If this mandate associates with alinkpayment method, this hash contains mandate information specific to thelinkpayment method.payment_method_details.naver_pay(object, nullable) If this mandate associates with anaver_paypayment method, this hash contains mandate information specific to thenaver_paypayment method.payment_method_details.nz_bank_account(object, nullable) If this mandate associates with anz_bank_accountpayment method, this hash contains mandate information specific to thenz_bank_accountpayment method.payment_method_details.paypal(object, nullable) If this mandate associates with apaypalpayment method, this hash contains mandate information specific to thepaypalpayment method.payment_method_details.paypal.billing_agreement_id(string, nullable) The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.payment_method_details.paypal.payer_id(string, nullable) PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
payment_method_details.payto(object, nullable) If this mandate associates with apaytopayment method, this hash contains mandate information specific to thepaytopayment method.payment_method_details.payto.amount(integer, nullable) Amount that will be collected. It is required whenamount_typeisfixed.payment_method_details.payto.amount_type(enum) The type of amount that will be collected. The amount charged must be exact or up to the value ofamountparam forfixedormaximumtype respectively. Defaults tomaximum. Possible enum values:fixedThe amount is the exact amount that will be charged.maximumThe amount is the maximum amount that can be charged.
payment_method_details.payto.end_date(string, nullable) Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.payment_method_details.payto.payment_schedule(enum) The periodicity at which payments will be collected. Defaults toadhoc. Possible enum values:adhocPayments will be made ad hocannualPayments will be made annuallydailyPayments will be made dailyfortnightlyPayments will be made fortnightlymonthlyPayments will be made monthlyquarterlyPayments will be made quarterlysemi_annualPayments will be made semi-annuallyweeklyPayments will be made weekly
payment_method_details.payto.payments_per_period(integer, nullable) The number of payments that will be made during a payment period. Defaults to 1 except for whenpayment_scheduleisadhoc. In that case, it defaults to no limit.payment_method_details.payto.purpose(enum, nullable) The purpose for which payments are made. Has a default value based on your merchant category code. Possible enum values:dependant_supportTransactions are made for dependant support reasonsgovernmentTransactions are made for government reasonsloanTransactions are made for loan reasonsmortgageTransactions are made for mortgage reasonsotherTransactions are made for other reasonspensionTransactions are made for pension reasonspersonalTransactions are made for personal reasonsretailTransactions are made for retail reasonssalaryTransactions are made for salary reasonstaxTransactions are made for tax reasonsutilityTransactions are made for utility reasons
payment_method_details.payto.start_date(string, nullable) Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
payment_method_details.pix(object, nullable) If this mandate associates with apixpayment method, this hash contains mandate information specific to thepixpayment method.payment_method_details.pix.amount_includes_iof(enum, nullable) Determines if the amount includes the IOF tax. Possible enum values:alwaysThe IOF tax is included in the amount.neverThe IOF tax is not included in the amount.
payment_method_details.pix.amount_type(enum, nullable) Type of amount. Possible enum values:fixedThe exact amount for future payments.maximumThe maximum amount for future payments.
payment_method_details.pix.end_date(string, nullable) Date when the mandate expires and no further payments will be charged, inYYYY-MM-DD.payment_method_details.pix.payment_schedule(enum, nullable) Schedule at which the future payments will be charged. Possible enum values:halfyearlyThe future payments will be charged half-yearly.monthlyThe future payments will be charged monthly.quarterlyThe future payments will be charged quarterly.weeklyThe future payments will be charged weekly.yearlyThe future payments will be charged yearly.
payment_method_details.pix.reference(string, nullable) Subscription name displayed to buyers in their bank app.payment_method_details.pix.start_date(string, nullable) Start date of the mandate, inYYYY-MM-DD.
payment_method_details.revolut_pay(object, nullable) If this mandate associates with arevolut_paypayment method, this hash contains mandate information specific to therevolut_paypayment method.payment_method_details.sepa_debit(object, nullable) If this mandate associates with asepa_debitpayment method, this hash contains mandate information specific to thesepa_debitpayment method.payment_method_details.sepa_debit.reference(string) The unique reference of the mandate.payment_method_details.sepa_debit.url(string) The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively.
payment_method_details.twint(object, nullable) If this mandate associates with atwintpayment method, this hash contains mandate information specific to thetwintpayment method.payment_method_details.type(string) This mandate corresponds with a specific payment method type. Thepayment_method_detailsincludes an additional hash with the same name and contains mandate information that’s specific to that payment method.payment_method_details.upi(object, nullable) If this mandate associates with aupipayment method, this hash contains mandate information specific to theupipayment method.payment_method_details.upi.amount(integer, nullable) Amount to be charged for future payments.payment_method_details.upi.amount_type(enum, nullable) One offixedormaximum. Iffixed, theamountparam refers to the exact amount to be charged in future payments. Ifmaximum, the amount charged can be up to the value passed for theamountparam. Possible enum values:fixedIffixed, theamountparam refers to the exact amount to be charged in future payments.maximumIfmaximum, the amount charged can be up to the value passed for theamountparam.
payment_method_details.upi.description(string, nullable) A description of the mandate or subscription that is meant to be displayed to the customer.The maximum length is 20 characters.
payment_method_details.upi.end_date(timestamp, nullable) End date of the mandate or subscription.
payment_method_details.us_bank_account(object, nullable) If this mandate associates with aus_bank_accountpayment method, this hash contains mandate information specific to theus_bank_accountpayment method.payment_method_details.us_bank_account.collection_method(enum, nullable) Mandate collection method Possible enum values:paperMandate customer acceptance was collected using a paper document
single_use(object, nullable) If this is asingle_usemandate, this hash contains details about the mandate.single_use.amount(integer) The amount of the payment on a single use mandate.single_use.currency(enum) The currency of the payment on a single use mandate.
status(enum) The mandate status indicates whether or not you can use it to initiate a payment. Possible enum values:activeThe mandate can be used to initiate a payment.inactiveThe mandate was rejected, revoked, or previously used, and may not be used to initiate future payments.pendingThe mandate is newly created and is not yet active or inactive.
type(enum) The type of the mandate. Possible enum values:multi_useRepresents permission given for multiple payments.single_useRepresents a one-time permission given for a single payment.
The Mandate object ​
json
{
"id": "mandate_1MvojA2eZvKYlo2CvqTABjZs",
"object": "mandate",
"customer_acceptance": {
"accepted_at": 123456789,
"online": {
"ip_address": "127.0.0.0",
"user_agent": "device"
},
"type": "online"
},
"livemode": false,
"multi_use": {},
"payment_method": "pm_123456789",
"payment_method_details": {
"sepa_debit": {
"reference": "123456789",
"url": ""
},
"type": "sepa_debit"
},
"status": "active",
"type": "multi_use"
}