Subsequent recurring payments
Having successfully processed an initial recurring payment, you are ready to process a subsequent recurring payment. You just need to adhere to the frequency, the expiry, and the amount of the initial payment (your subsequent payments must be less or equal to the initial payment).Request
Find the API documentation for the request here.Response
Commerce responds with a HTTP 200 OK and a JSON payload. There will be no action requirement.Remarks
- The
sourceof the initial payment is transferred to each subsequent payment. - For your reference, the
initial_payment_idis provided. This is the ID of the initial payment.
Subsequent unscheduled payments
Subsequent unscheduled payments are a special case of payments. They are used to process payments that are not scheduled in advance, but rather initiated by the merchant at a later point in time. This is useful for scenarios where the payment amount is not known at the time of the initial payment, or where the payment is triggered by an event that occurs after the initial payment. Like with recurring payments, it is also the way to get payment credentials from the customers, as they are on-session for the first payment. Subsequent unscheduled payments will be processed in the background without a customer on-session.Request
Find the API documentation for the request here.Response
Commerce responds with a HTTP 200 OK and a JSON payload. There will be no action requirement.Remarks
- The
sourceof the initial payment is transferred to each subsequent payment. - For your reference, the
initial_payment_idis provided. This is the ID of the initial payment.
Authentication / 3-D Secure
In case 3-D Secure with 3RI is configured for your account, Commerce will automatically handle the process. You can configure the authentication behavior for merchant initiated payments with theauthentication_preference field in the request. The following values are supported:
NO_3RI: Don’t perform 3RI authentication for this payment (Default).TRY_3RI: Try to perform 3RI authentication for this payment. If it fails the payment will still be sent for authorization.REQUIRE_3RI: Require 3RI authentication for this payment. If it fails the payment will not be sent for authorization.