Custom Redirect
A CUSTOM_REDIRECT payment acceptor lets you send customers to a URL of your choosing to complete payment, instead of using a bank account or a payment gateway.
Why this matters
Use a CUSTOM_REDIRECT payment acceptor when payment is handled by a system outside Solvimon – for example, a custom checkout page, a payment link generated by another provider, or an internal billing portal.
How it works
When an invoice is generated, Solvimon builds a payment action for each active payment acceptor attached to it. For a CUSTOM_REDIRECT acceptor, the payment action contains a url built from the custom_redirect.url template configured on the payment acceptor, with any placeholders substituted for the specific invoice and customer.
Setting it up
Via API
Create a payment acceptor with type set to CUSTOM_REDIRECT and a custom_redirect object containing the redirect url:
Requirements:
custom_redirect.urlis required whentypeisCUSTOM_REDIRECT, and must be a valid URL.- The payment acceptor must be owned by a billing entity. Customer-owned payment acceptors only support
BANK_ACCOUNT. - Once created,
typecannot be changed on the payment acceptor, andcustom_redirectcannot be removed – only itsurlcan be updated.
Supported placeholders
The url can include the following placeholders. They’re substituted each time an invoice’s payment actions are generated, so the resulting link is always specific to that invoice and customer.
For example, the template:
resolves for invoice invo_123 and customer reference acme-corp to:
Outcome on the invoice
The resolved URL is exposed on the invoice under payment_actions:
This URL is also used automatically as the payment link in:
- Invoice emails sent to the customer
- Payment confirmation / failure emails
- Upcoming payment reminder emails