spend_threshold_configuration
. This config dictates:
threshold_amount
for the customer’s contract: how much they can spend before a payment attempt is triggeredpayment_gate_config
:
EXTERNAL
if you are using a gateway Metronome does not currently support. See Use an external payment gate for details.PAYMENT_TYPE
to dictate whether payment is sent as an invoice through Stripe Billing or directly as a paymentIntent
to Stripe’s payment gateway.product_id
should be used to represent the commit: the product_id
dictates what the customer sees on their incremental invoicespend_threshold_configuration.is_enabled
to true
if you want Metronome to immediately evaluate the contract after its creation.spend_threshold_configuration
at any point by editing the user’s contract. Add spend threshold limits to existing, non-limited contracts or change existing limits on a contract (for example, after some period of successful payments).
Note that these changes take effect immediately.
Edit contracts in the Metronome app or with the Metronome API. This API call adds a spend threshold to a contract:
EXTERNAL
option for payment_gate_type
, you are responsible for facilitating payment and letting Metronome know the response. Follow this workflow:
payment_gate_type
set to EXTERNAL
payment_gate.external_initiate
that indicates Metronome is ready to receive the outcome of the payment
workflow_id
- you will need this to release the commit