Get Payment Status
Last updated
Last updated
The get_status endpoint returns the last attempted IPN/callback webhook, regardless of whether it succeeded. It requires that an IPN attempt has been made.
A POST request has to be made to call for this information.
URL:
Request Data:
Response:
order_id
: The order ID on Swapped.com.
external_transaction_id
: DEPRECATED
external_customer_id
: Your user's ID (If provided in the URL).
order_status
: The current status of the order.
order_crypto
: The cryptocurrency that was purchased.
order_crypto_amount
: The amount of crypto sent.
order_crypto_address
: The crypto address the crypto was sent to.
order_amount_usd
: The total order amount without fees in USD.
order_amount_usd_plus_fees
: The total order amount including fees in USD.
order_amount_eur
: The total order amount without fees in EUR.
order_amount_eur_plus_fees
: The total order amount including fees in EUR.
network
: The network the crypto belongs to.
order_status
: The current status of the order.
transaction_id
: The transaction id on the blockchain.