curl "https://api.payload.com/payment_links/" \
-u secret_key_3bW9JMZtPVDOfFNzwRdfE: \
-d type="one_time" \
-d description="Payment Request" \
-d amount="10" \
-d processing_id="acct_3brhxEXpz2qEJ8vnIXbvW" \
-d checkout_options[billing_address]=false \
-d checkout_options[show_disclosure]=true
You can include the following options in the checkout_options
field to enable different features such as the
enable_mobile_wallets
field to enable payments through Google Pay and Apple Pay.
option | type | description |
---|---|---|
payment[status] |
string |
Set transaction status to 'authorized' or 'processed' |
card_payments |
bool |
Enable/disable card payments |
bank_account_payments |
bool |
Enable/disable bank account payments |
billing_address |
bool |
Require the billing address |
payment_method_preview |
bool |
Enable a card or check preview of the payment details |
show_disclosure |
bool |
Display a standard disclosure on checkout |
enable_mobile_wallets |
bool |
Enable mobile wallet payment options |
enable_plaid |
bool |
Enable plaid payment option |
auto_billing_toggle |
bool |
Enable default payment method option |