GetOrderPayment

Retrieve the payment status for an order with the given identifier.

  • Input data type => object
  • Output data type => object

Input parameters

  1. _session_hash (string)
  2. Required. Session identifier (received during login - doLogin)

  3. order_id (integer)
  4. Required. Order identifier.

Output data

  1. created_at (dateTime)
  2. Creation date of the entry.

  3. updated_at (dateTime)
  4. Date of the last modification of the entry.

  5. id (integer)
  6. Identifier

  7. amount (double)
  8. Amount

  9. status (integer)
  10. Paid option.

  11. cancel (integer)
  12. Cancelled option.

  13. payed_at (dateTime)
  14. Date of marking the payment as paid.

  15. payment_opt_name (string)
  16. Name of the payment type.

  17. transaction_id (string)
  18. Payment transaction identifier (in the case of an Allegro order, it contains the Allegro payment guid identifier).

  19. allegro_payment_type (string)
    • cash_on_delivery
    • Cash on delivery.

    • p24
    • Przelewy24.

    • payu
    • PayU.

  20. is_cod (boolean) Cash on delivery