Create a klarna payment
How to create a klarna payment via API
To create a new klarna payment, send a POST
request to the /api/klarna_payments
endpoint, passing the resource arguments in the request body.
Request
POST https://yourdomain.commercelayer.io/api/klarna_payments
Arguments
Body Parameter | Type | Required |
---|---|---|
type |
| Required |
attributes.metadata |
| Optional |
attributes.reference |
| Optional |
attributes.reference_origin |
| Optional |
relationships.order |
| Required |
Example
The following request creates a new klarna payment:
Last updated