Create a Payment

Create a one-time or recurring payment for a user, defining where the funds come from, where they're going, the amount, and when the payment should be processed.

Use this as the starting point for sending funds to a user's liability or bank account, with the option to schedule the payment and select a supported settlement speed.

📘Settlement Speeds

  • Liability payments: Support STANDARD settlement.
  • Bank account payments: Support SAME_DAY or NEXT_DAY settlement.
Body Params
uuid
required

Spinwheel userId of the user the payment request is created for.

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
> 0

Payment amount.

uuid
required

payerId of payer from whom the payment would go through.

uuid

The settlement account the funds come from. Required if your account has more than one settlement account.

uuid

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

useOfFunds
object
number

Epoch timestamp value of schedule date

string
enum
required

Type of the payment request. Only ONE_TIME is supported.

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
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json