Create order

DocsLimited

Last updated: Sept 26th, 1:43am

Create an order to begin the Klarna payment process. Configure your order by selecting when authorization occurs and when payment source details are provided based on your business requirements.

Authorization flows

Choose when the payment authorization occurs:

  • Manual authorization: Requires a separate authorization call after buyer approval. You can either exclude processing_instruction or set it to NO_INSTRUCTION.
  • [Recommended] Automatic authorization: Authorization happens immediately after buyer approval when processing_instruction is set to ORDER_COMPLETE_ON_PAYMENT_APPROVAL.

Choose the appropriate authorization flow based on your integration needs. Manual authorization provides more control over the payment process, while automatic authorization streamlines the flow by combining order creation and authorization.

Payment source configuration

Choose when to include payment source details:

  • [Recommended] Single-step flow: Include payment source details (payment_source.klarna) in the create order request.
  • Multi-step flow: Create order without payment source details. Add them during payment source confirmation or authorization.

Both flows are independent and can be combined based on your business requirements.