Get payment link (Two)
Generates a Two link allowing the buyer to initiate payment of an invoice from the mapped order.
Vue d’ensemble
Generates a Two link allowing the buyer to initiate payment of an invoice from the mapped order.
Exemple
From a customer area, provide a Two payment link for an invoice that remains open.
Parameters 2
extension_config_id
Two configuration used for this operation. It determines provider identifiers, capabilities, and environment.
order
Ormuz Order used as business source and durable mapping anchor for the Two order.
Outputs 2
payment_url
Two URL intended for the buyer for verification or payment initiation when provided by Two.
expires_at
Expiration date and time of the URL when supplied by Two.
Behavior
The link is requested from Two for the relevant order/invoice; an expiration date is exposed when supplied by the provider.
Limits and responsibilities
- A link is not proof of payment.
- Treat the URL as a capability intended for the correct recipient and respect its expiration.