Transactions

Create Transaction And Wait

Changed on

Create a new transaction and wait until transaction reaches given state.

post/api/v1/transactions/create-and-wait

Request

  • Base URL: https://api.fordefi.com
  • URL: https://api.fordefi.com/api/v1/transactions/create-and-wait
  • Auth: HTTP bearer

Headers

x-signaturestring

Signature of the body. Base64 encoded string. If the request is made programatically by an API user, signing of the request is required and is intended to protect you from malicious backends. x_signature is valid for 120 seconds.

Example:SGVsbG8=
x-timestampinteger

Timestamp of the signature. Integer. Specify an Epoch date. If the request is made programatically by an API user, the timestamp of the request is required and is intended to protect you from replay attacks.

x-idempotence-idstring uuid

Optional idempotence ID of a transaction.

Request body

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example request

{
  "details": {
    "message_to_sign": "SGVsbG8="
  }
}

Response

Successful Response

idstring uuid required

The unique identifier of the object in the Fordefi platform.

created_atstring date-time required

The date and time when the object was created.

modified_atstring date-time required

The date and time when the object was last modified. Any change to any field of the resource is considered a modification.

signaturesstring[] required

The transaction signatures.

has_timed_outboolean required

Whether the transaction has timed out while waiting for the requested state.

Example response

{
  "signatures": [
    "SGVsbG8="
  ]
}

Changes

    • info

      added canton_withdraw_transfer discriminator mapping keys to the / request property

    • info

      added to the / request property oneOf list

    • warning

      added the new cancelled enum value to the / response property for the response status