Skip to main content
POST
/
v1
/
funding
/
transactions
Initiate a funding transaction
curl --request POST \
  --url https://api.getsly.ai/v1/v1/funding/transactions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source_id": "<string>",
  "amount_cents": 123,
  "currency": "<string>",
  "wallet_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "destination_currency": "<string>",
  "conversion_quote_id": "<string>",
  "idempotency_key": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "source_id": "<string>",
    "amount_cents": 123,
    "currency": "<string>",
    "status": "pending",
    "fees": {
      "provider": 123,
      "sly": 123,
      "total": 123
    },
    "created_at": "2023-11-07T05:31:56Z",
    "wallet_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "destination_currency": "<string>",
    "estimated_settlement": "2023-11-07T05:31:56Z",
    "failure_reason": "<string>",
    "completed_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.getsly.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key (pk_test_* or pk_live_), JWT session, agent token (agent_), Ed25519 session (sess_), or portal token (portal_).

Body

application/json
source_id
string
required
amount_cents
integer
required
Required range: x <= 100000000
currency
string
required
Required string length: 3 - 4
wallet_id
string<uuid>
destination_currency
string
conversion_quote_id
string
idempotency_key
string

Response

Initiated

data
object
required