Skip to main content
POST
Create a Payment

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
user_id
string<uuid>
required
amount
integer
required
platform
enum<string>
required
Available options:
ach
customer_id
string<uuid>
ach_info
object

Specifies the bank account to draw the payment from. This can be used as an alternative to a stored account ID.

account_id
string | null

The user's ACH account ID.

metadata
any

Response

201 - application/json

Created

The transfer object.

id
string<uuid>
created
string<date-time>
user_id
string<uuid>
status
enum<string>
Available options:
created,
pending,
failed,
completed,
reversed,
canceled,
flagged
type
enum<string>

The type of this transfer.

  • refill - refill of an API App or Organization's Dots Wallet
  • payout - payout to a User
  • balance - balance transfer between Dots Wallets, such as from an API App to a User's Dots Wallet
  • payment - payment from a User to an API App
  • settlement - legacy, currently unused
  • payable - payable for Accounts Payable
Available options:
refill,
payout,
balance,
payment,
settlement,
payable
amount
number
external_data
object
transactions
object[]

ID of the payout-link that the transfer belongs to.

metadata

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.