Record

payment-link

No description available.

record payment-link {
  active: bool,
  after-completion: resource-after-completion,
  allow-promotion-codes: bool,
  application-fee-amount: option​<s32>,
  application-fee-percent: option​<f64>,
  automatic-tax: resource-automatic-tax,
  billing-address-collection: payment-link-billing-address-collection-enum,
  consent-collection: option​<string>,
  currency: string,
  custom-fields: list​<resource-custom-fields>,
  custom-text: resource-custom-text,
  customer-creation: payment-link-customer-creation-enum,
  id: string,
  invoice-creation: option​<string>,
  line-items: option​<payment-link-line-items>,
  livemode: bool,
  metadata: payment-link-metadata,
  object: payment-link-object-enum,
  on-behalf-of: option​<string>,
  payment-intent-data: option​<string>,
  payment-method-collection: payment-link-customer-creation-enum,
  payment-method-types: option​<list​<payment-link-payment-method-types-item-enum>>,
  phone-number-collection: resource-phone-number-collection,
  shipping-address-collection: option​<string>,
  shipping-options: list​<resource-shipping-option>,
  submit-type: payment-link-submit-type-enum,
  subscription-data: option​<string>,
  tax-id-collection: resource-tax-id-collection,
  transfer-data: option​<string>,
  url: string,
}

Fields

NameTypeDescription
activebool
after-completionresource-after-completion
allow-promotion-codesbool
application-fee-amountoption​<s32>
application-fee-percentoption​<f64>
automatic-taxresource-automatic-tax
billing-address-collectionpayment-link-billing-address-collection-enum
consent-collectionoption​<string>
currencystring
custom-fieldslist​<resource-custom-fields>
custom-textresource-custom-text
customer-creationpayment-link-customer-creation-enum
idstring
invoice-creationoption​<string>
line-itemsoption​<payment-link-line-items>
livemodebool
metadatapayment-link-metadata
objectpayment-link-object-enum
on-behalf-ofoption​<string>
payment-intent-dataoption​<string>
payment-method-collectionpayment-link-customer-creation-enum
payment-method-typesoption​<list​<payment-link-payment-method-types-item-enum>>
phone-number-collectionresource-phone-number-collection
shipping-address-collectionoption​<string>
shipping-optionslist​<resource-shipping-option>
submit-typepayment-link-submit-type-enum
subscription-dataoption​<string>
tax-id-collectionresource-tax-id-collection
transfer-dataoption​<string>
urlstring