Skip to content
Navigation

Answers what the buyer's page builds its payment form from before paying a cart: the processor's key, the account, and the form's mode, amount and methods, which match the payment payCheckout starts.

GET
https://api.sherpo.io/customer/v1/stores/{store}/checkouts/{checkout}/payment_form

Authorization

  • bearer
    HTTP
    required

Path parameters

  • store
    string
    required

    A hostname of the store.

  • checkout
    string
    required
    minLength: 1

Returns

200

Answers what the buyer's page builds its payment form from before paying a cart: the processor's key, the account, and the form's mode, amount and methods, which match the payment payCheckout starts.

JSON
  • processor
    string
    required
  • publishable_key
    string
    required
  • account
    string
    required

    The connected account; payCheckout takes it back as expect_account.

  • element
    required

    Null when paying collects nothing: a free cart that saves no card, or a payment started on a saved card.

    One of the following:

    • object
    • null
JSON
  • type
    string
    required
    format: uri
  • title
    string
    required
  • status
    integer
    required
  • detail
    string
    required
  • code
    optional
    string
  • context
    optional
    object
  • reached_core
    optional
    boolean
  • core_answer
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close