Create a Payment

This API will allow you to create a Payment request for a user.

Body Params
string
required

Spinwheel userId of the user you're posting the recurringTransaction towards.

string
required

An id generated by you, a partner, to refer back the payment request. (Needs to be unique for a given request)

number
required
≥ 1

Recurring transaction amount.

string
required

payerId of payer from whom the payment would go through.

string

useOfFundsId of funds allocation you've configured. Either of useOfFundsId or useOfFunds object is required.

useOfFunds
object
number

Epoch timestamp value of schedule date

schedule
object

If not provided, Current date will be taken as the date for posting recurring transactions.

string
enum
required

Whether the payment request is one-time or recurring.

Allowed:
string
enum

Settlement speed. If this field is not set, the default configuration will be used.

Allowed:
string

This is to tag payments with specific keywords.

Responses

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json