Skip to main content
POST
/
settlement
/
transactions
Create Transaction
curl --request POST \
  --url https://api.paxos.com/v2/settlement/transactions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ref_id": "d840cf31-352f-4190-a476-7522bf3eafda",
  "settlement_window_start": "2023-08-25T14:25:41Z",
  "settlement_window_end": "2023-08-25T16:25:41Z",
  "source_profile_id": "4fd025ab-f29f-47e6-a02e-df90a61c7ec9",
  "target_profile_id": "47db6271-50d6-4934-8c81-c42d87bfb390",
  "legs": [
    {
      "direction": "DELIVER",
      "asset": "BTC",
      "amount": "100"
    }
  ]
}'
{
  "id": "d99a03ee-6b88-4362-89da-087c2c8cd4a7",
  "ref_id": "d840cf31-352f-4190-a476-7522bf3eafda",
  "settlement_window_start": "2023-08-25T14:25:41.648486573Z",
  "settlement_window_end": "2023-08-25T14:25:41.648486953Z",
  "source_profile_id": "4fd025ab-f29f-47e6-a02e-df90a61c7ec9",
  "target_profile_id": "47db6271-50d6-4934-8c81-c42d87bfb390",
  "legs": [
    {
      "id": "ace21517-447e-4764-8733-765cb12a7fab",
      "direction": "DELIVER",
      "asset": "BTC",
      "amount": "100"
    }
  ],
  "status": "PENDING",
  "created_at": "2023-08-25T14:25:41.648489333Z",
  "updated_at": "2023-08-25T14:25:41.648489493Z"
}
OAuth Scope
settlement:write_transaction

Authorizations

Authorization
string
header
required

Body

application/json
ref_id
string
settlement_window_start
string<date-time>
settlement_window_end
string<date-time>
source_profile_id
string
target_profile_id
string
legs
object[]

Response

id
string
required
ref_id
string
required
settlement_window_start
string<date-time>
required
settlement_window_end
string<date-time>
required
source_profile_id
string
required
target_profile_id
string
required
legs
object[]
required
status
enum<string>
required
Available options:
PENDING,
SETTLED,
EXPIRED,
CANCELLED,
AFFIRMED
created_at
string<date-time>
required
updated_at
string<date-time>
required