This method allows you to check the payment status and the IPN logs for a payment using our API.
Method: GET
Path: https://api.blockbee.io/checkout/logs/
Parameters
Query Parameters
apikey
string
•Required
API Key provided by BlockBee's Dashboard. Unsure how to get yours? Check this tutorial.
Note: The API key can also be sent as a header named apikey
.
token
string
•Required
The payment_id
provided upon requesting the payment link.
fG78jtx96ugjtu0eIbeLmFB9z0feJf9N
Returns
Returns the payment logs. Returns an error if there's a missing required parameter or if you didn't configure the payment settings correctly.
is_expired
boolean
true
if the payment is expired. Any payment sent to the generated addresses after expiration will be disregarded.
is_partial
boolean
true
if the payment is partially paid. This can happen if the amount transferred is below the total.
payment_data
object[]
Detailed information about each payment option. This object contains the following fields:
The total requested payment amount in the specified cryptocurrency.
The amount that has already been paid.
The remaining amount that has yet to be paid.
The exchange rate applied to the payment.
The cryptocurrency used for the payment (e.g., eth
, btc
, bep20_usdt
).
An array of transaction IDs related to the payment.
notifications
object[]
A list of notifications sent for payment processing. This object contains the following fields:
The URL to which the notification request was sent.
The JSON payload sent in the notification.
The URL for the hosted checkout page where the user can complete the payment.
URL where your customers will be redirected to after successfully completing the payment.
Value of the order.
A unique token that is passed to your redirect_url
to verify the payment's authenticity on your end.
The FIAT currency of the value
.
1
if the payment is paid.
The amount paid by the user.
The cryptocurrency the user paid with.
The exchange rate applied to the payment.
The transaction ID of the payment.
The address that received the payment.
Status of the payment.
The response received from the server for the notification.
The HTTP status code of the notification response.
Indicates whether the notification is still pending.
The timestamp when the notification was sent.