POST
/
transactions
/
transfer
Transfer
curl --request POST \
  --url https://api.lumx.io/transactions/transfer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "currency": "USDC",
  "from": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "to": "980dc26b-42fd-4044-8a42-2271d20a2eb9",
  "amount": "10000.000000"
}'
{
  "value": {
    "id": "123e4567-e89b-12d3-a456-426614174004",
    "customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "TRANSFER",
    "request": {
      "currency": "USDC",
      "from": "123e4567-e89b-12d3-a456-426614174001",
      "to": "123e4567-e89b-12d3-a456-426614174002",
      "amount": "1000.000000"
    },
    "state": {
      "status": "PROCESSING"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header on the format Bearer <API_KEY>.

Body

application/json
currency
enum<string>
required

Transfer's currency.

Available options:
USDC,
USDT
Example:

"USDC"

from
string<uuid>
required

Customer's unique identifier that will send the tokens.

Example:

"3c90c3cc-0d44-4b50-8888-8dd25736052a"

to
required

Customer's unique identifier that will receive the tokens.

Example:

"980dc26b-42fd-4044-8a42-2271d20a2eb9"

amount
string
required

Transfer's amount.

Example:

"10000.000000"

Response

202 - application/json

Transfer transaction started successfully.

id
string<uuid>

Transfer operation's unique identifier.

Example:

"123e4567-e89b-12d3-a456-426614174000"

customerId
string<uuid>

Customer's unique identifier.

Example:

"123e4567-e89b-12d3-a456-426614174000"

type
enum<string>

Transfer operation's type.

Available options:
TRANSFER
Example:

"TRANSFER"

request
object
state
object

Transfer operation's current state. See examples for more details.

createdAt
string<date-time>

Creation date and time.

updatedAt
string<date-time>

Last update date and time.