PUT
/
settlement
/
transactions
/
{transaction_id}
/
affirm
Affirm Transaction
curl --request PUT \
  --url https://api.paxos.com/v2/settlement/transactions/{transaction_id}/affirm \
  --header 'Authorization: Bearer <token>'
{
  "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": "AFFIRMED",
  "created_at": "2023-08-25T14:25:41.648489333Z",
  "updated_at": "2023-08-25T17:53:23.648489493Z"
}

Authorizations

Authorization
string
header
required

Paxos APIs use OAuth 2 with the client credentials grant flow.

Token URLs:

Learn more in the API credentials guide →

Path Parameters

transaction_id
string
required

The unique id in the Transaction object.

Response

200
application/json

A successful response.

Transaction returned on create (Create Transaction), list (List Transactions) and get (Get Transaction) requests.