Enumeration PaymentRequestStateReason

Reasons for the current state of the payment request.

The reason field may be used to determine why the payment request is in its current state. The following reasons are available: CONFIRMATION_TOKEN_EXPIRED - The confirmation token has expired. Payment request is reverted back to SUBMITTED state. CUSTOMER_ACTION_REQUIRED - Action is required by the customer before the transaction attempt can be tried again. This may be due to insufficient funds, KYC or any other reason that can be addressed by the customer. Depending on the action, you may retry the transaction after allowing the customer time to address the action. PAYMENT_REQUEST_SUBMITTED - The initial state. Payment request has been submitted to Klarna. Same state reason for both token and purchase flows, as token itself is created only when payment request is confirmed by partner. PARTNER_CANCELED - The partner has canceled the payment request. Payment request state should be set to CANCELED. PERMANENT - The customer token has been permanently revoked, requiring the creation of a new token. The customer is declined for all payment options. PURCHASE_FLOW_ABORTED - The customer dropped out of the purchase flow. For example, customer closed Klarna window or went back to merchant site, etc. STEP_UP_REQUIRED - The token charge does not go through immediately but requires the customer to go through a step-up flow. TECHNICAL_ERROR - Klarna failed to start the purchase flow due to internal error or a non-recoverable error occurred during the purchase flow, forcing the customer to abort the transaction. For example, a currency mismatch.

Enumeration Members

CONFIRMATION_TOKEN_EXPIRED: "CONFIRMATION_TOKEN_EXPIRED"
CUSTOMER_ACTION_REQUIRED: "CUSTOMER_ACTION_REQUIRED"
PARTNER_CANCELED: "PARTNER_CANCELED"
PAYMENT_REQUEST_SUBMITTED: "PAYMENT_REQUEST_SUBMITTED"
PERMANENT: "PERMANENT"
PURCHASE_FLOW_ABORTED: "PURCHASE_FLOW_ABORTED"
STEP_UP_REQUIRED: "STEP_UP_REQUIRED"
TECHNICAL_ERROR: "TECHNICAL_ERROR"