Skip to main content
GET
Query Order

Authorizations

x-api-key
string
header
required

Path Parameters

orderId
string
required

The order identifier generated by Paybyrd.

Response

200 - application/json

200

orderId
string<guid>

This field contains the unique identifier that represents the order.

Example:

"e901d7fa-a41a-4c93-bc53-7a08cd72aff4"

isoAmount
integer<int64>

Total amount for this order

amount
string

Total amount for this order, with the following pattern "0.00"

Example:

"25.00"

currency
string

Valid ISO-4217 alpha code e.g EUR

Example:

"EUR"

orderRef
string

Merchant reference for this order

Example:

"ABC123456"

status
enum<string>

Represents the status of the order. Created - Order has no payments associated to it or all payment attempts have failed. Pending - Order has a payment associated to it which is in progress but not concluded. Paid - Order has a payment associated to it with final status 'Success'. Canceled - This status can occur by system routines, shopper action by clicking on 'cancel payment' button in the hosted page or by calling the order cancel endpoint. Expired - This status occurs by system routines that checks for payment abandonment or in case an expiration date is sent in the create order request. Refunded - In case a successful payment is refunded, its order will have the 'Refunded' status.

Available options:
created,
paid,
pending,
refunded,
canceled,
expired
Example:

"created"

orderDate
string

Order creation date in UTC

Example:

"2021-05-31T22:04:31Z"

expiresAt
string

Order expiration date in UTC

Example:

"2021-05-31T22:04:31Z"

canceledAt
string

Order cancellation date in UTC

Example:

"2021-05-31T22:04:31Z"

lastTransactionId
string<guid>

Identifier of the last transaction processed for this order

Example:

"1c5a405d-1525-4ded-ae5b-d7dfded4a194"

refundedAmount
string

Total refunded amount for this order, with the following pattern "0.00"

Example:

"25.00"

shopper
object
orderOptions
object

Defines settings for this order

paymentOptions
object

Defines settings for payment.

index
integer
transactions
object[]