Skip to main content
POST
/
v4
/
swap
/
reject_requote
Reject Swap requote
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.

Authorizations

apiKey
string
query
required

Headers

authorization
string
required

A valid customer authentication token in the format 'Bearer [auth token]'.

Body

application/json
signature
string
required

Signature from the GET requote response.

Example:

"***"

walletAddresses
object
required
externalTransactionId
string

A valid Swap transaction ID from your backend. You can use this to associate your transaction with our transaction.

Example:

"dc2ddba2-9e81-45e9-a201-e8b6d69b5ad9"

Response

Successful response

success
boolean

True if the swap requote was successfully rejected.

Example:

true