Create onchain payment quote
Endpoint accepts idempotency-key header to prevent the same quote from being created twice. In case of a duplicate request, the error
code DUPLICATE_PAYMENT_QUOTE containing the id of the original quote (paymentQuoteId) will be returned.
The key should be a random v4 UUID to avoid false collisions.
Required scopes:
- partner.payment-quote.onchain.create
| Header Parameters |
|---|
idempotency-key uuid |
| Request Body — REQUIRED | |||||
|---|---|---|---|---|---|
btcAddress string — REQUIREDPossible values: 1 ≤ length BTC address to send funds to. | |||||
sourceCurrency string — REQUIREDPossible values: [ Currency to spend. | |||||
description stringPossible values: length ≤ 250 Payment description. | |||||
amount object — REQUIREDAmount to send. FeePolicy defaults to EXCLUSIVE.
| |||||
onchainTierId string — REQUIREDPossible values: 1 ≤ length Id of the tier retrieved from | |||||
beneficiary objectBeneficiary info required for travel rule compliance.
|
| Responses | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200OK
|