Skip to content
Contact support
Schemas/Objects

PaymentMethods

Crypto checkout support and the local payment methods available to a merchant.

Typeobject

Properties

cryptoCheckoutbooleanRequired
localMethodsarray of objectRequired
localMethods[].codestringRequired
localMethods[].namestringRequired
localMethods[].statestringRequired
one of available, unavailable
localMethods[].reasonstring or nullRequired
one of temporarily_paused, amount_unavailable, null, checkout_unavailable

Example values

JSON example
{
  "cryptoCheckout": true,
  "localMethods": [
    {
      "code": "whish",
      "name": "Whish",
      "state": "available",
      "reason": null
    }
  ]
}

JSON schema

PaymentMethods
{
  "type": "object",
  "properties": {
    "cryptoCheckout": {
      "type": "boolean"
    },
    "localMethods": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Method"
      }
    }
  },
  "required": [
    "cryptoCheckout",
    "localMethods"
  ],
  "description": "Crypto checkout support and the local payment methods available to a merchant.",
  "examples": [
    {
      "cryptoCheckout": true,
      "localMethods": [
        {
          "code": "whish",
          "name": "Whish",
          "state": "available",
          "reason": null
        }
      ]
    }
  ]
}
Next in schemasOrderMatch

We use necessary cookies to run this site. With your permission, we also use analytics and advertising technologies to measure visits and downloads.