🟢Get Payment Status

Allows for retrieving the status of a payment.

URL: https://widget.swapped.com/api/v1/merchant/get_status

Request Data:

{
  "order_id": "swapped_order_id",
  "api_key": "your_public_key"
}

Response:

{
    "order_id": "swapped_order_id",
    "order_crypto": "LTC",
    "external_transaction_id": "",
    "external_customer_id": "123456",
    "order_status": "order_broadcasted",
    "transaction_id": "fada834ba9f1b398bacf6153e44e320dfe1821bffe03a68d29ca76cb3bbc60c5"
}

Response Definition:

  • order_id: The order id on Swapped.com.

  • order_crypto: The cryptocurrency you receive.

  • external_transaction_id: Your transaction id (If provided in the URL).

  • external_customer_id: Your customer's id (If provided in the URL).

  • order_status: The current status of the order.

  • transaction_id: The transaction id on the blockchain.

Last updated