Create a new gateway order.
Creates a new request, reserves the required liquidity.
Request body
Response
Created order
Example response
{
"onramp": {
"order_id": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6"
}
}Changes
Changed in 10 of the 19 revisions of this API.11112
- ○
endpoint deprecated
endpoint-deprecated
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
removed the required property
details/oneOf[GatewayErrorDetails]/oneOf[subschema #3 -> subschema #8]/min_required_satsfrom the response with the400statusresponse-required-property-removed
- ▲
removed the required property
details/oneOf[GatewayErrorDetails]/oneOf[subschema #3 -> subschema #8]/senderfrom the response with the400statusresponse-required-property-removed
- ●
added the new
QUOTE_AMOUNT_TOO_LOWenum value to thecoderesponse property for the response status400response-property-enum-value-added
- ○
the endpoint scheme security
api_keywas added to the APIapi-security-added
- ○
removed the
INSUFFICIENT_FUNDSenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
added the required property
details/oneOf[GatewayErrorDetails]/oneOf[subschema #3 -> subschema #8]/actualto the response with the400statusresponse-required-property-added
- ○
added the required property
details/oneOf[GatewayErrorDetails]/oneOf[subschema #3 -> subschema #8]/minimumto the response with the400statusresponse-required-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
- ▲
added the new required request property
oneOf[subschema #1]/onramp/signedQuoteDatanew-required-request-property
- ▲
- ▲
the response property
oneOf[subschema #1]/onramp/psbt_hexbecame nullable for the status201response-property-became-nullable
- ▲
the response property
oneOf[subschema #1]/onramp/psbt_hexbecame optional for the status201response-property-became-optional
- ▲
- ▲
removed
subschema #1subschema #2subschema #3from the request bodyoneOflistrequest-body-one-of-removed
- ○
added
subschema #1subschema #2subschema #3to the request bodyoneOflistrequest-body-one-of-added
- ▲
- ▲
removed
subschema #1subschema #2subschema #3from the request bodyoneOflistrequest-body-one-of-removed
- ○
added
subschema #1subschema #2subschema #3to the request bodyoneOflistrequest-body-one-of-added
- ▲
- ▲
added the new required request property
oneOf[subschema #3]/layerZero/recipientnew-required-request-property
- ○
added the new optional request property
oneOf[subschema #3]/layerZero/sendernew-optional-request-property
- ▲
- ▲
removed
subschema #1subschema #2subschema #3from the request bodyoneOflistrequest-body-one-of-removed
- ○
added
subschema #1subschema #2subschema #3to the request bodyoneOflistrequest-body-one-of-added
- ▲
- ▲
removed
subschema #1subschema #2subschema #3from the request bodyoneOflistrequest-body-one-of-removed
- ▲
added
subschema #2subschema #3to the response bodyoneOflist for the response status201response-body-one-of-added
- ○
added
subschema #1subschema #2subschema #3to the request bodyoneOflistrequest-body-one-of-added
- ○
removed
subschema #2subschema #3from the response bodyoneOflist for the response status201response-body-one-of-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲