v1

latestOpenAPI 3.0.22026-07-26128245430.3 KB
Crypto Return Policies

Create a new crypto return policy

post/crypto_return_policies

Headers

Idempotency-Keystring required

Request body

refund_destination_addressstring

The address to which the refund will be sent. Required if the strategy is static_address, but must be unset if the strategy is refund_to_sender.

refund_destination_blockchain_memostring

The memo to include with the refund transaction. Must be unset if the strategy is refund_to_sender.

refund_destination_chainstring

The blockchain on which the refund will be sent. Required if the strategy is static_address, but must be unset if the strategy is refund_to_sender.

refund_destination_currencystring

The currency to which the refund will be sent. Required if the strategy is static_address, but must be unset if the strategy is refund_to_sender.

strategystring

The strategy to use for the refund. Can be refund_to_sender or static_address. We only support multiple policies for static_address; different strategies cannot have multiple policies. If multiple static_address policies exist, the policy that matches both the currency and chain will be used first. If no such policy is found, the policy that matches only the currency will be used instead.

Response

Crypto return policy created

idstring
developer_idstring
refund_destination_addressstring
refund_destination_blockchain_memostring
refund_destination_chainstring
refund_destination_currencystring
strategystring