v1
latestOpenAPI 3.0.32026-07-24164965.8 KBContract Create
An endpoint that accepts an application payload for a customer wishing to enter a buy-now-pay-later journey. The endpoint returns a redirect URL that takes the customer through a series of screens to complete the process.
Request body
The format of the amount provided. MINOR_UNIT = amount is an integer of the minor unit of the currency. eg 1000 is 10CHF. DECIMAL = Decimal representation as string. e.g. "10.00" is 10CHF
- MINOR_UNIT - MINOR_UNIT
- DECIMAL - DECIMAL
A reference number/code that is unique to this order
High-level description of the order for the user.
Deprecated. Use language instead.
- en-gb - British English
- fr - French
- de - German
- it - Italian
If provided, it must be in ISO 639-1. For example:
- en - English
- fr - French
- de - German
- en-gb - British English
- it - Italian
A reference number/code that the merchant assigns to a store
The merchant store name, stored on the merchant user object
The merchant store number, stored on the merchant user object
Pass True to override the delayed finalisation setting. With delayed finalisation of the contract the merchant later confirms availability of the goods with payment captured only upon confirmation
If provided, it must be BNPL or CREDIT
- BNPL - BNPL
- CREDIT - CREDIT
Order Discount Amount in decimal format (2dp)
For service products, this is the date the service starts format: YYYY-MM-DD.
For service products, this is the date the service ends format: YYYY-MM-DD.
Bank account number for the customer if applicable.
Response
- REDIRECT - REDIRECT
URL to redirect the user to to complete their HeidiPay checkout.
Risk status of any risk tests that run before the customers enter the checkout.
- credit_check_decline - credit_check_decline
- id_check_decline - id_check_decline
- address_not_found_decline - address_not_found_decline
- success - success