Session JSON

The Session JSON contains all data of a not yet processed session. You can update the session as long as it's not processed by the payment-controller.

hash
Unique hash for this session, use this hash to update the session or processing via the payment-controller.

status

  • incomplete: session has still errors like required or invalid fields
  • complete: session is ready for payment

errors
See Errors JSON.

values
Contains the already accepted and validated values stored in the session.

fixed_values
Only for Prepopulation-API: indicates which values are fixed.

meta_info
Additional informations already stored in the session, e.g. Adresslabor informations. See Meta Info.

Example

{
    "hash": "0eugvetl49ql8drqyzs3oiybaz2tdvu257dfbeb23833f",
    "status": "incomplete",
    "errors": {
      "current_fields": {
        "interval": "Ungültig",
        ...
      },
      "other_fields": {
        "payment_method": "Bitte wählen Sie eine Zahlungsweise",
        ...
      }
    },
    "values": {
      "salutation": "Mr.",
      "first_name": "Hans",
      "last_name": "Peters",
      "amount": "120",
      "fb_item_id": "9305",
      "wants_receipt": "no_receipt",
      "is_privacy_accepted": "1",
      ...
    },
    "fixed_values": {
      "first_name": "fix",
      "last_name": "fix",
      ...
    },
    "meta_info": {...} // see General > Meta Info
}