POST
/
api
/
service
/
order
/
details

Authorizations

X-Ivy-Api-Key
string
header
required

Body

application/json
id
string
required

Response

200 - application/json
appId
string
requireddeprecated

The unique identifier for the merchantApp which initiated the order / payment attempt.

applicationFeeAmount
number
required

The Ivy fee for the payment.

createdAt
string
required
id
string
required

The Ivy unique identifier for the order.

instantPaymentScheme
boolean
required
merchantAppId
string
requireddeprecated

Deprecated in favor of appId.

merchantId
string
required

The unique identifier for the merchant which initiated the order / payment attempt.

price
object
required

The price to be paid by the user. All amounts are in decimals, i.e. 10.23 represents EUR 10.23. Any amount of decimal places can be provided on initialization, but the actual transfer amount is rounded to 2 decimal places, as this is the format accepted by most banks.

referenceId
string
required

An internal reference id which will be stored with the checkout & corresponding order. Needs to be unique per shop per order and can be up to 200 characters.

Maximum length: 200
shopName
string
required

The name of the merchant which initiated the order.

status
enum<string>
required

The order status. This status symbolises the state of the user's payment attempt. See the guide for more information.

Available options:
failed,
canceled,
processing,
in_handshake,
waiting_for_payment,
paid,
in_refund,
refunded,
refund_failed,
partially_refunded,
in_dispute,
disputed,
refused
updatedAt
string
required
bankStatementReference
string

The bank statement reference of the payment for the order. This is the reference that will be visible on the bank statement.

billingAddress
object

The billing address of the user. Required when handshake=true.

category
string

The merchant category code or MCC.

climateActionMode
object
co2Grams
number
deprecated
customerId
string

The unique identifier of the customer who placed the order.

displayId
string

The customer facing id. This id is displayed to the user during the checkout and in the merchant dashboard.

Maximum length: 200
guest
boolean

False by default. If set to true, customers skip email input and jump directly to their bank login. For express Checkout Sessions this is always false.

impactOffsetProjects
string[]

Only valid for sustainable incentive mode. The social / sustainable projects available to the user during Checkout.

incentiveMode
enum<string>
default:
white_label

The incentive mode of the checkout session. For any use-case apart from e-commerce, please use white_label as the value. If set to white_label, the checkout session will be white labeled. If set to sustainable, the checkout session will contain sustainable incentives for users.

Available options:
white_label,
sustainable
lineItems
object[]

The line items of the Checkout.

mandate
object
merchantFinancialAddress
object

The destination bank account where the money will be sent to.

metadata
object

Any data which will be stored and returned for this checkout session and corresponding order. See here for more info.

offsetProject
string

Only valid for sustainable incentive mode. The social / sustainability project chosen by the user during Checkout.

payerFinancialAddress
object

The source bank account where the money is send from.

paymentMethodType
enum<string>
Available options:
sepa_debit,
customer_balance
paymentMode
enum<string>

The payment mode of the order. Can be either 'settlement' or 'direct'.

Available options:
settlement,
direct
paymentStatus
enum<string>

Deprecated in favor of status. Do not use this field to trigger actions in your system.

Available options:
failed,
canceled,
processing,
requires_action,
succeeded,
in_refund,
refunded,
refund_failed,
partially_refunded,
not_settled,
disputed
refundAmount
number

The total amount in the currency of all successful refunds for this order

refunds
object[]

The list of refunds connected to this order.

shippingAddress
object

The shipping address of the user. This is only collected in express Checkouts.

shippingMethod
object

The selected shipping method by the user. Can either be selected during an express Checkout Session or passed during Checkout Session creation.

The logo of the shop provided as a URL.

shopper
object

The shopper object. Contains information collected from the user during the Checkout.

shopperEmail
string
deprecated

Deprecated in favor of shopper.email. The email of the user if collected in the Checkout.

statusClassification
object
statusHistoryList
object[]

List of status history items for the order, used for logging every update on status.

subaccountId
string

The subaccount id of the order.

The legal name of the subaccount

trees
number
deprecated