DotsDocs
Payout links

Create a Payout Link

Create a Payout Link. Payout agent credentials accept only `amount`, `user_id`, `payee`, `delivery`, `idempotency_key`, and `metadata`. They require `idempotency_key` and exactly one recipient identity. Agent phone numbers may start with zero, but customer-authenticated requests reject them.

POST
/v2/payout-links

Create a Payout Link. Payout agent credentials accept only amount, user_id, payee, delivery, idempotency_key, and metadata. They require idempotency_key and exactly one recipient identity. Agent phone numbers may start with zero, but customer-authenticated requests reject them.

Authorization

headerAuthorizationBasic <token>

Request Body

application/json
  1. body
user_id?string

The user's id.

Formatuuid
payee?

The payee. This is optional.

amount*integer

Amount to be paid in cents.

delivery?
force_collect_compliance_information?boolean

Force the collection of 1099 or W-8 information. Defaults to false.

Defaultfalse
tax_exempt?boolean

Payout links marked as tax_exempt will not be counted towards the 1099 threshold.

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.

memo?string

Add a memo to the top of the Payout Link

idempotency_key?|

Unique UUID key that prevents duplicate requests from being processed. If a payout link with the idempotency key exists, a new link will not be created and the existing link will be returned instead.

Formatuuid
payout_fee_party?|

Overrides the setting for which party will pay fees on this payout. This takes precedence over the default for your application.

Value in"user""platform"
additional_steps?array<>

Array of steps in the flow.

accounting_data?
hide_go_to_dashboard_on_complete?boolean

Hide the "Go to dashboard" button after the payout flow is completed.

Defaultfalse
description?string

Description attached to the payout link.

funding_source?string

Source used to fund the payout link.

Value in"dots_balance""ach"

Response Body

Created

application/json
  1. response

The payout-link object.

id?string

ID of the payout-link.

Formatuuid
created?string

Date the payout-link was created.

Formatdate-time
link?string

URL to access the payout-link.

Formaturi
amount?number

The amount to pay in cents.

status?string

Status of the payout-link.

Value in"funds_pending""created""delivery_pending""delivery_failed""sent""delivered""claimed""reversed""canceled""expired""failed"
payee?

Information about the payee. It is used to pre-fill information.

delivery?
tax_exempt?boolean

Transfers marked as tax_exempt will not be counted towards the 1099 threshold.

claimed_user_id?string

ID of the user that has claimed the payout-link.

Formatuuid
flow_id?string

ID of the payout flow UI that is sent to the user.

Formatuuid
transfer_id?string

ID of the transfer created for this payout-link.

Formatuuid
memo?|

Optional memo added to this payout-link

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.

description?|

Optional description attached to the payout link.

accounting_data?
created_by_email?string

Email of the team member who created the payout link, when available.

Formatemail
funding_source?string

Source used to fund the payout link.

Value in"dots_balance""ach"
Example Request
curl -X POST 'https://api.dots.dev/api/v2/payout-links' \  -H 'Content-Type: application/json' \  -d '{  "amount": 0}'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "created": "2019-08-24T14:15:22Z",  "link": "http://example.com",  "amount": 0,  "status": "funds_pending",  "payee": {    "first_name": "string",    "last_name": "string",    "email": "user@example.com",    "country_code": "string",    "phone_number": "string"  },  "delivery": {    "method": "link",    "email": "user@example.com",    "country_code": "string",    "phone_number": "string"  },  "tax_exempt": true,  "claimed_user_id": "66f08eaa-a101-4a26-b1a7-7241439dcee8",  "flow_id": "0746f03b-16cc-49fb-9833-df3713d407d2",  "transfer_id": "d4a2d8dd-7def-4545-a062-761683b9aa05",  "memo": "string",  "metadata": "string",  "description": "string",  "accounting_data": {    "quickbooks_account_id": 0,    "quickbooks_class_id": 0  },  "created_by_email": "user@example.com",  "funding_source": "dots_balance"}