Sending back the authorization token
How to submit a payment request to Klarna
Last updated
How to submit a payment request to Klarna
Last updated
Your customer has through the client SDK. You need to create the order on Klarna with the authorization token returned by the client to proceed with the payment flow.
To create an order on Klarna you have to update the Klarna payment object first. To do that, send a PATCH
request to the /api/klarna_payments/:id
endpoint, filling the auth_token
attribute returned by the client SDK.
The following request updates the Klarna payment source identified by the "ertHJlpPTR" ID with the auth_token
received from the client:
See our documentation if you need more information on how to . See our Checkout guide for more details on how to place an order.