string = 3 characters The three-letter ISO currency code.
amount required
number >= 0 The Payment Context Payment amount. The amount must be provided in the minor currency unit.
payment_type
string Default: “Regular” Enum:”Regular””Recurring”The payment type. “Recurring” must be specified if the payment is paid in multiple installments.
capture
boolean Default: trueWhether to capture the later payment (if applicable).
customer
objectThe customer details.
shipping
objectThe shipping details.
processing
objectUse the processing object to influence or override the data sent during card processing.
processing_channel_id
string^(pc)_(\w{26})$The processing channel to be used for the payment.
reference
string <= 50 characters A reference you can later use to identify this Payment Context, such as an order number. Can only be alphanumeric and must be unique for Benefit. For Amex, the string limit is 30 characters.
description
string <= 100 characters A description of the Payment Context.
success_url
string <= 1024 characters Overrides the default success redirect URL configured on your account.
failure_url
string <= 1024 characters Overrides the default failure redirect URL configured on your account.
items
Array of objectsThe order line items. Required for Klarna payments.
metadata
objectA set of key-value pairs to store additional information about a transaction. Up to 20 fields, 255 chars each. Only string, number, boolean allowed.