curl --request POST \
--url https://api.dots.dev/api/v2/transfers \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": -1000,
"user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created": "2023-11-07T05:31:56Z",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "created",
"type": "refill",
"amount": 123,
"external_data": {
"account_id": "<string>",
"external_id": "<string>",
"platform": "ach"
},
"transactions": [
{
"id": 123,
"amount": 123,
"created": "2023-11-07T05:31:56Z",
"source_name": "<string>",
"destination_name": "<string>",
"type": "balance",
"metadata": "<string>"
}
],
"metadata": "<string>"
}Create Transfer
Create a transfer.
curl --request POST \
--url https://api.dots.dev/api/v2/transfers \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": -1000,
"user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created": "2023-11-07T05:31:56Z",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "created",
"type": "refill",
"amount": 123,
"external_data": {
"account_id": "<string>",
"external_id": "<string>",
"platform": "ach"
},
"transactions": [
{
"id": 123,
"amount": 123,
"created": "2023-11-07T05:31:56Z",
"source_name": "<string>",
"destination_name": "<string>",
"type": "balance",
"metadata": "<string>"
}
],
"metadata": "<string>"
}Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
The amount in cents to transfer. Negative amount transfers money from the app to the user.
The user's id.
Transfers marked as tax_exempt will not be counted towards the 1099 threshold.
UUID that will be used to idempotently handle requests. Transfers with existing idempotency keys will be rejected.
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.
Response
OK
The transfer object.
created, pending, failed, completed, flagged refill, payout, balance Show child attributes
Show child attributes
Show child attributes
Show child attributes
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.
Was this page helpful?