Deposit funds into an app’s wallet from its bank account.
curl --request POST \
--url https://api.dots.dev/api/v2/apps/{app_id}/deposit \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 123,
"idempotency_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"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>",
"transfer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transfer": {}
}
],
"payout_link_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": "<string>"
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The ID of the App.
OK
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.dots.dev/api/v2/apps/{app_id}/deposit \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 123,
"idempotency_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"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>",
"transfer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transfer": {}
}
],
"payout_link_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": "<string>"
}
Deposit funds into an app’s wallet from its bank account.
curl --request POST \
--url https://api.dots.dev/api/v2/apps/{app_id}/deposit \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 123,
"idempotency_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"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>",
"transfer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transfer": {}
}
],
"payout_link_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": "<string>"
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The ID of the App.
OK
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.dots.dev/api/v2/apps/{app_id}/deposit \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 123,
"idempotency_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"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>",
"transfer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transfer": {}
}
],
"payout_link_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": "<string>"
}