curl --request POST \
--url 'https://api.moonpay.com/v4/swap/reject_requote?apiKey=' \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '
{
"signature": "***",
"walletAddresses": {
"refundWalletAddress": 7.55070758245981e+47,
"refundWalletAddressTag": "tag"
},
"externalTransactionId": "dc2ddba2-9e81-45e9-a201-e8b6d69b5ad9"
}
'{
"success": true
}Rejects a given swap requote. Refer to our Recipes section for more detailed examples.
curl --request POST \
--url 'https://api.moonpay.com/v4/swap/reject_requote?apiKey=' \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '
{
"signature": "***",
"walletAddresses": {
"refundWalletAddress": 7.55070758245981e+47,
"refundWalletAddressTag": "tag"
},
"externalTransactionId": "dc2ddba2-9e81-45e9-a201-e8b6d69b5ad9"
}
'{
"success": true
}Documentation Index
Fetch the complete documentation index at: https://dev.moonpay.com/llms.txt
Use this file to discover all available pages before exploring further.
A valid customer authentication token in the format 'Bearer [auth token]'.
Signature from the GET requote response.
"***"
Show child attributes
A valid Swap transaction ID from your backend. You can use this to associate your transaction with our transaction.
"dc2ddba2-9e81-45e9-a201-e8b6d69b5ad9"
Successful response
True if the swap requote was successfully rejected.
true