PUT /self/{shopId}/settings/payments/balance

PUT /self/{shopId}/settings/payments/balance

Path parameters

Body

  • isActive boolean
  • defaultCurrency string | null
  • gateways array[integer(int32)] | null

    " The list of supported payment gateways. CoinbaseCommerce = 0 Stripe = 1 PayPal = 2 CashApp = 3 PayPalFf = 4 VirtualPayments = 5 Square = 6

    "

    Values are 0, 1, 2, 3, 4, 6, 7, 8, or 9.

  • Additional properties are NOT allowed.

    Hide gatewayRules attribute Show gatewayRules attribute object

Body

  • isActive boolean
  • defaultCurrency string | null
  • gateways array[integer(int32)] | null

    " The list of supported payment gateways. CoinbaseCommerce = 0 Stripe = 1 PayPal = 2 CashApp = 3 PayPalFf = 4 VirtualPayments = 5 Square = 6

    "

    Values are 0, 1, 2, 3, 4, 6, 7, 8, or 9.

  • Additional properties are NOT allowed.

    Hide gatewayRules attribute Show gatewayRules attribute object

Body

  • isActive boolean
  • defaultCurrency string | null
  • gateways array[integer(int32)] | null

    " The list of supported payment gateways. CoinbaseCommerce = 0 Stripe = 1 PayPal = 2 CashApp = 3 PayPalFf = 4 VirtualPayments = 5 Square = 6

    "

    Values are 0, 1, 2, 3, 4, 6, 7, 8, or 9.

  • Additional properties are NOT allowed.

    Hide gatewayRules attribute Show gatewayRules attribute object
PUT /self/{shopId}/settings/payments/balance
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/settings/payments/balance' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"isActive":true,"defaultCurrency":"string","gateways":[0],"gatewayRules":{"blockVpn":true}}'
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/settings/payments/balance' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: text/json"
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/settings/payments/balance' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/*+json"
Request examples
{
  "isActive": true,
  "defaultCurrency": "string",
  "gateways": [
    0
  ],
  "gatewayRules": {
    "blockVpn": true
  }
}
Request examples
{
  "isActive": true,
  "defaultCurrency": "string",
  "gateways": [
    0
  ],
  "gatewayRules": {
    "blockVpn": true
  }
}
Request examples
{
  "isActive": true,
  "defaultCurrency": "string",
  "gateways": [
    0
  ],
  "gatewayRules": {
    "blockVpn": true
  }
}