Check a payment

GET https://api.finorapayment.com/v1/payments/{merchant_order_id}

Returns the current state of a payment by your order ID. Use it when a webhook did not arrive or to double-check before shipping.

Example

curl "https://api.finorapayment.com/v1/payments/order-1002" \
  -H "x-api-key: YOUR_API_KEY"

Response

json
{
  "payment_id": "6f1c…",
  "merchant_order_id": "order-1002",
  "payment_status": "COMPLETED",
  "payment_amount": 49.9,
  "customer_email": "[email protected]",
  "currency_code": "EUR"
}
FieldDescription
payment_idOur payment ID.
merchant_order_idYour order ID.
payment_statusSee Payment statuses.
payment_amountAmount in EUR.
customer_emailEmail passed when the payment was created, if any.
currency_codeEUR.

An order you created that the customer has not started paying yet (no bank chosen) returns CREATED without payment_id. Unknown order IDs return 404.

NotePrefer webhooks to polling. If you poll, do it at most once every 10–30 seconds and stop when the status is final (COMPLETED, CANCELED, NOT_CREDITED).