Front-end Order Creation

Get Authorization

Changed on

Return last authorization for the given checkout session.

get/checkout-sessions/{sessionId}/authorization

Request

Path parameters

sessionIdstring uuid required
Example:12345667-890a-bcde-f123-34567890abcd

Response

Authorization

state'pre_waiting' | 'authorized' | 'waiting' | 'created' | 'declined' | 'shipped' | 'paid_out' | 'late' | 'complete' | 'canceled' required
decline_reason'risk_policy' | 'risk_scoring_failed' | 'debtor_not_identified' | 'debtor_address' | 'risk_scoring_failed' | 'debtor_limit_exceeded' required

Example response

{
  "state": "created",
  "decline_reason": "debtor_not_identified",
  "amount": {
    "gross": 260.27,
    "net": 200.12,
    "tax": 60.15
  },
  "debtor": {
    "name": "Billie GmbH",
    "company_address": {
      "address_house_number": "4",
      "address_street": "Charlottenstr.",
      "address_postal_code": "10969",
      "address_city": "Berlin"
    }
  }
}

Changes