Skip to main content

Send Link to Customer

The link generated in the request should be delivered to the web browser.

Direct Mode

GET /payment/api/v1/{request_id}/{method}/direct

All payment methods allow a direct mode to send the customer a direct link to a specific payment method without the option to modify it.

The link will be included in the response when generating the payment link ("Step 1") in the field payload.payment_methods.{method}.url.

This link will direct the customer to the payment page with a pre-selected payment method, and they will not be able to select another method. If any parameters were sent to customize the payment page (logo, cart...), the customer will also see them.

If the field payload.payment_methods.{method}.supports_direct_payment is true, there will be another link to send to the customer in the field payload.payment_methods.{method}.direct_url. This link will direct the customer to the payment method page without showing the customizations, if any were sent in "Step 1".

Indirect Mode

GET /payment/api/v1/{request_id}/{method}

In this step, the link to be used is the content of payload.url, which comes in the response when generating the payment link. This link will direct the customer to the payment page so they can select the payment method they wish.