Payments
Create a payment link (Checkout Session)
Creates a Stripe Checkout Session and returns a one-time hosted payment URL.
Funds-flow modes
| Mode | When | Who is charged | Oriva fee |
|---|---|---|---|
| Direct Charge | merchant_connect_account_id present | Buyer charged via merchant Connect account | 10% application_fee_amount deducted at charge time. funds_flow=direct_charge written to session metadata. |
| Separate Transfers | merchant_connect_account_id absent | Buyer charged on Oriva platform account | REA cron distributes author share post-settlement. funds_flow=separate_transfers written to session metadata. |
The funds_flow field in the Stripe metadata is set automatically by the server based on the presence of merchant_connect_account_id — callers do not set it.
Requires an active oriva_pk_ API key whose owner has a registered REA agent record.
post/api/v1/payments/payment-links
Request
- Base URL: https://api.oriva.io
- URL: https://api.oriva.io/api/v1/payments/payment-links
- Auth: HTTP bearer
Request body
Response
Checkout Session created. Redirect the buyer to data.url.
Changes
No recorded changes to this operation across all 1 revision of this API.