Initiate a payment, invoice, or charge.
/v1/abilities/payment.initiateInitiate a payment, invoice, or charge. provider ‘stripe’ (default) creates a Stripe Payment Link (Connect direct-charge + application_fee when the tenant is connected); provider ‘paystack’ creates a Paystack checkout SPLIT charge on SLOE’s platform account routed to the tenant’s collections subaccount (requires customerEmail).
Request body
Section titled “Request body”inputPaymentInitiateInputrequiredShow 10 properties
amountnumberrequiredcurrencystringrequiredproviderstringoptionalAllowed values:stripe,paystackcustomerEmailstringoptionalcallbackUrlstringoptionalrecipientIdstringoptionaldescriptionstringoptionalcontactIdstringoptionalleadIdstringoptionalidempotencyKeystringoptional
contextCallContextoptionalOptional call context. The tenant always comes from the credential:
tenantIdis honoured only by a credential allowed to address sub-tenants, and then nests under the credential’s own tenant.Show 3 properties
tenantIdstringoptionalSub-tenant to act for (sub-tenant credentials only).
runIdstringoptionalThe trust run (from trust.preflight) this call executes under.
verticalIdstringoptionalVertical to attribute created records to.
Returns
Section titled “Returns”Schema shown for 200 · application/json
resultThe ability’s return value. Its shape depends on the ability.