Skip to content
View as Markdown

Initiate a payment, invoice, or charge.

POST/v1/abilities/payment.initiate

Initiate 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).

Required
Yes
Content type
  • application/json
  • inputPaymentInitiateInputrequired
    Show 10 properties
    • amountnumberrequired
    • currencystringrequired
    • providerstringoptional
      Allowed values: stripe, paystack
    • customerEmailstringoptional
    • callbackUrlstringoptional
    • recipientIdstringoptional
    • descriptionstringoptional
    • contactIdstringoptional
    • leadIdstringoptional
    • idempotencyKeystringoptional
  • contextCallContextoptional

    Optional call context. The tenant always comes from the credential: tenantId is honoured only by a credential allowed to address sub-tenants, and then nests under the credential’s own tenant.

    Show 3 properties
    • tenantIdstringoptional

      Sub-tenant to act for (sub-tenant credentials only).

    • runIdstringoptional

      The trust run (from trust.preflight) this call executes under.

    • verticalIdstringoptional

      Vertical to attribute created records to.

Schema shown for 200 · application/json

  • result

    The ability’s return value. Its shape depends on the ability.