How to register an order
Step 1: Identify payer and receiver
Step 2: Choose payment method
Enter payment information for prepaid order
prepaid
= true. We need more information about the payment for a prepaid order. Please define the payment information object to the corresponding payment method object, for example paymentInfoPayex
object for paymentMethod
creditcardPayex in Register order / Register order - client mode API endpoints.Step 3: Choose product specifier
productSpecType
describes what type of product(s) that are used in the order. Since we need more information about an order, we have decided to split product specification types into:Required fields for a specific productSpecType
productSpecType
are described in the table below. The required fields are located under orderLine
object in Register order / Register order - client mode API endpoints.productSpecType | Required fields | Data input |
---|---|---|
coupon | productSpecCode , productSpecNo | Set coupon code in productSpecCode , coupon number in productSpecNo |
product | product | Set product code in product |
issue | productSpecCode , productSpecNo , product | Set coupon code in productSpecCode , coupon number in productSpecNo and issue code in product . |
article | articleDetail | Set article information |
How to grant temporary access
allowAccessProduct
field) and a number of seconds (in allowAccessSeconds
field) for subscription products (productSpecType
= coupon). If the order is for issue products (productSpecType
= issue), the specified issue code in product field must exist for the given product code specified in allowAccessProduct
. To grant temporary access base on category type, you have to specify categorytype in allowAccessCategoryType
.Step 4: Send order
Warning!
orderId
in the response. This orderId
is needed to fulfill (complete) the order by using the Fulfillment API or Fulfillment URL.Step 5: Choose to complete your order by fulfillment API or fulfillment URL
paymentMethod | Fulfillment URL | Fulfillment API |
---|---|---|
invoice | ✔ | ✔ |
free | ✔ | ✔ |
sms (Link Mobility) | ✔ | |
smsPay | ✔ | |
masterpass | ✔ | |
vippsRecurring | ✔ | |
kco (Klarna) | ✔ | ✔ |
creditcardPayex | ✔ | ✔ |
swishPayex | ✔ | ✔ |
vippsEcommerce (single payment) | ✔ | ✔ |
other | ✔ |