On Demand Pay
Create Pay Run
POST
Upload pay details to make pay available to your members
Create a pay run to make pay available to your members. Include a list of Member IDs, and the amount you would like to make available in the form of aDocumentation Index
Fetch the complete documentation index at: https://docs.onsi.com/llms.txt
Use this file to discover all available pages before exploring further.
Money object (please see Money Object).
We will either respond with a list of issues, or with a created PayRun object.
The PayRun will, by default, be executed after a 10 minute grace period. This can be seen in the scheduledFor field of the PayRun object.
Avoiding Duplicates
We strongly reccomend using an
x-idempotency-key to avoid duplicate pay run uploads, and therefore duplicate money
being made available to your members.Authorizations
Headers
Unique key to ensure idempotency of the request
Body
application/json
Body
Response
201 - application/json
A pay run is a list of members and the amount of money they are able to withdraw
Upload pay details to make pay available to your members