Skip to main content
POST
/
v1
/
transfers
/
{transfer_id}
/
confirm
Confirm Transfer (beta)
curl --request POST \
  --url https://api.streambird.io/v1/transfers/{transfer_id}/confirm \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "user_id": "user_26l6ha8syVN8oqmaHaFShTxZ5RC"
}'
{
  "id": "transfer_2DHHNuneKLlqAr1ooaBb531mOy4",
  "app_id": "app_25ldv51seNohTaYRsxdfoxMlAa2",
  "user_id": "user_26l6ha8syVN8oqmaHaFShTxZ5RC",
  "status": "completed",
  "source": "wallet_2CxAACd2h0dwzSlsqqyFLsJXCxW",
  "source_amount": "0.050005",
  "dest": "5H6JCEqnLPjYsoGkBGPaxqrviYKbVrggB7MZTmE1euNA",
  "dest_amount": "0.05",
  "dest_currency": "solana",
  "source_currency": "solana",
  "custom_id": null,
  "total_fees": "0.000005",
  "notes": "test",
  "blockchain_tx_hash": "5XaDKrbsCuYP1QyngWuidx4PvwjkPEBXox8Wqt9K8MHT7qTeZ3c6WbSWGkrKXPYvwtfcYuVaTJAVaqNZ8sDRHyHA",
  "completed_at": 0,
  "cancelled_at": 0,
  "expires_at": 1660349172,
  "created_at": 1660349052,
  "updated_at": 1660349067
}

Authorizations

Authorization
string
header
required

Auth Platform API includes all the Auth related features. All Users, Phone Numbers, Emails, and OTPs are associated with an App as the container.

Endpoints only accept App's Secret API keys other than certain endpoints that are used client side or via SDK that accept the public_token.

Authentication using App Api Key

Header:

Authorization: Bearer {api_key}

Authenticated Request

curl \
-X GET https://api.streambird.io/v1/auth/users/user_24wFP9pDa9YiMJLun94iKykoZs2 \
-H "Authorization: Bearer sk_test_pRqweh3wvWmJAAVYv7Z0T5iPLzFM4ql0muoyQcjOxGeN3p1r"

Path Parameters

transfer_id
string
required

ID of the transfer to confirm

Body

application/json
user_id
string

Optional user ID to send in with the transfer, which will trigger a platform validation to ensure the source wallet is owned by the specified user to avoid usage error.

Response

200 - application/json

Confirm Transfer (beta) response

id
string
app_id
string
user_id
string
status
string
source
string
source_amount
string
dest
string
dest_amount
string
dest_currency
string
source_currency
string
custom_id
any
total_fees
string
notes
string
blockchain_tx_hash
string
completed_at
integer
cancelled_at
integer
expires_at
integer
created_at
integer
updated_at
integer