Payment status

Endpoint for checking payment status by transaction key

Check payment status by transaction key

GET https://papi.swapin.com/api/transactions/<TRANSACTION_KEY>

Query Parameters

Name
Type
Description

<TRANSACTION_KEY>*

String

Key of the payment that was created with create payment API call

{
    "ok": true,
    "transaction": {
        "transaction_key": "jaly4bbh60u43a4xoe16utoiguvlbyrd",
        "status": "N",
        "status_time": "2018-10-30 17:26:19 +00:00",
        "created_time": "2018-10-30 17:26:19 +00:00",
        "receiver_name": "test",
        "receiver_iban": "EE123",
        "coin": "LTC",
        "sum_eur": 100.1,
        "total_eur": 102.49,
        "fees_eur": 2.14,
        "bank_fees_eur": 0.25,
        "rate": 42.91,
        "description": "Test",
        "reference": null,
        "qrc_image_url": "https://papi.swapin.com/api/qr/jaly4bbh60u43a4xoe16utoiguvlbyrd",
        "payment_url": "litecoin://9XXd98HUpzSq8vu55mXsXSPZtJ8I8dG8?amount=2.38860000",
        "total_coin": 2.3886,
        "fees_coin": 0.0499,
        "bank_fees_coin": 0.0059,
        "received_coin": 0,
        "missing_coin": 2.3886,
        "coin_address": "9XXd98HUpzSq8vu55mXsXSPZtJ8I8dG8",
        "user_id": null
    }

}

Last updated