SellAuth

Payment Methods

Get Payment Methods

Retrieves the payment methods.

GET
/v1/shops/{shopId}/payment-methods

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger

The shop ID.

curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/payment-methods" \
  -H "Authorization: Bearer <token>"

{
  "current_page": 1,
  "data": [
    {
      "id": 30,
      "shop_id": 38,
      "type": "LTC",
      "name": "Litecoin",
      "icon_image_id": null,
      "percentage_fee": 0,
      "fixed_fee": 0,
      "min_amount": null,
      "max_amount": null,
      "currency_override": null,
      "hide_powered_by": false,
      "is_active": true,
      "order": 1,
      "created_at": "2025-07-27T17:58:26.000000Z",
      "updated_at": "2025-07-27T17:58:26.000000Z",
      "deleted_at": null,
      "icon_image_url": null,
      "icon_image": null
    }
  ],
  "first_page_url": "https://api.sellauth.com/v1/shops/38/payment-methods?page=1",
  "from": 1,
  "last_page": 1,
  "last_page_url": "https://api.sellauth.com/v1/shops/38/payment-methods?page=1",
  "links": [
    {
      "url": null,
      "label": "&laquo; Previous",
      "active": false
    },
    {
      "url": "https://api.sellauth.com/v1/shops/38/payment-methods?page=1",
      "label": "1",
      "active": true
    },
    {
      "url": null,
      "label": "Next &raquo;",
      "active": false
    }
  ],
  "next_page_url": null,
  "path": "https://api.sellauth.com/v1/shops/38/payment-methods",
  "per_page": 100,
  "prev_page_url": null,
  "to": 1,
  "total": 1
}

Create Payment Method

Creates a new payment method.

POST
/v1/shops/{shopId}/payment-methods

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Request Body

application/jsonRequired
typeRequiredstring
Value in: "CUSTOMERBALANCE" | "STRIPE" | "SQUARE" | "SUMUP" | "MOLLIE" | "SKRILL" | "AUTHORIZENET" | "REVOLUTBUSINESS" | "LEMONSQUEEZY" | "NMI" | "OVERPAY" | "SWIFTPAY" | "WHOP" | "ADYEN" | "SHOPIFY" | "AMAZONPS" | "PAYPAL" | "PAYPALFF" | "CASHAPP" | "VENMO" | "BTC" | "LTC" | "MANUAL"
nameRequiredstring

Must not be greater than 100 characters.

icon_image_idinteger
labelstring

Must not be greater than 100 characters.

fixed_feenumber

Must be at least -100. Must not be greater than 100.

percentage_feenumber

Must be at least -50. Must not be greater than 50.

min_amountnumber

Must be at least 0. Must not be greater than 999999.

max_amountnumber

Must be at least 0. Must not be greater than 999999.

currency_overridestring

Must not be greater than 3 characters.

hide_powered_byboolean
is_activeboolean
passwordstring

Must not be greater than 255 characters.

otpstring

Must not be greater than 6 characters.

tfa_codestring

Must not be greater than 8 characters.

remember_mfaboolean

Path Parameters

shopIdRequiredinteger

The shop ID.

curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/payment-methods" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "STRIPE",
    "name": "asyzwszwtxpeqqi",
    "icon_image_id": 12,
    "label": "asyzwszwtxpeqqi",
    "fixed_fee": 10,
    "percentage_fee": 24,
    "min_amount": 12,
    "max_amount": 22,
    "currency_override": "ki",
    "hide_powered_by": true,
    "is_active": true,
    "password": "Usi|L@vHT",
    "otp": "lowy",
    "tfa_code": "uffsz",
    "remember_mfa": false
  }'

Get Payment Method

Retrieves a specific payment method.

GET
/v1/shops/{shopId}/payment-methods/{paymentMethodId}

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger

The shop ID.

paymentMethodIdRequiredinteger

The payment method ID.

curl -X GET "https://api.sellauth.com/v1/shops/{shopId}/payment-methods/{paymentMethodId}" \
  -H "Authorization: Bearer <token>"

{
  "id": 30,
  "shop_id": 38,
  "type": "LTC",
  "name": "Litecoin",
  "icon_image_id": null,
  "percentage_fee": 0,
  "fixed_fee": 0,
  "min_amount": null,
  "max_amount": null,
  "currency_override": null,
  "hide_powered_by": false,
  "is_active": true,
  "order": 1,
  "created_at": "2025-07-27T17:58:26.000000Z",
  "updated_at": "2025-07-27T17:58:26.000000Z",
  "deleted_at": null,
  "icon_image_url": null,
  "settings": {
    "address": null,
    "underpay_percentage": "5",
    "wallet": "38local"
  },
  "icon_image": null
}

DELETE
/v1/shops/{shopId}/payment-methods/{paymentMethodId}

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger

The shop ID.

paymentMethodIdRequiredinteger

The payment method ID.

curl -X DELETE "https://api.sellauth.com/v1/shops/{shopId}/payment-methods/{paymentMethodId}" \
  -H "Authorization: Bearer <token>"

Update Payment Method

Updates a payment method.

PUT
/v1/shops/{shopId}/payment-methods/{paymentMethodId}

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Request Body

application/jsonRequired
typeRequiredstring
Value in: "CUSTOMERBALANCE" | "STRIPE" | "SQUARE" | "SUMUP" | "MOLLIE" | "SKRILL" | "AUTHORIZENET" | "REVOLUTBUSINESS" | "LEMONSQUEEZY" | "NMI" | "OVERPAY" | "SWIFTPAY" | "WHOP" | "ADYEN" | "SHOPIFY" | "AMAZONPS" | "PAYPAL" | "PAYPALFF" | "CASHAPP" | "VENMO" | "BTC" | "LTC" | "MANUAL"
nameRequiredstring

Must not be greater than 100 characters.

icon_image_idinteger
labelstring

Must not be greater than 100 characters.

fixed_feenumber

Must be at least -100. Must not be greater than 100.

percentage_feenumber

Must be at least -50. Must not be greater than 50.

min_amountnumber

Must be at least 0. Must not be greater than 999999.

max_amountnumber

Must be at least 0. Must not be greater than 999999.

currency_overridestring

Must not be greater than 3 characters.

hide_powered_byboolean
is_activeboolean
passwordstring

Must not be greater than 255 characters.

otpstring

Must not be greater than 6 characters.

tfa_codestring

Must not be greater than 8 characters.

remember_mfaboolean

Path Parameters

shopIdRequiredinteger

The shop ID.

paymentMethodIdRequiredinteger

The payment method ID.

curl -X PUT "https://api.sellauth.com/v1/shops/{shopId}/payment-methods/{paymentMethodId}" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "STRIPE",
    "name": "asyzwszwtxpeqqi",
    "icon_image_id": 12,
    "label": "asyzwszwtxpeqqi",
    "fixed_fee": 10,
    "percentage_fee": 24,
    "min_amount": 12,
    "max_amount": 22,
    "currency_override": "ki",
    "hide_powered_by": true,
    "is_active": true,
    "password": "Usi|L@vHT",
    "otp": "lowy",
    "tfa_code": "uffsz",
    "remember_mfa": false
  }'

Update Payment Method Order

Updates the order of payment methods.

PUT
/v1/shops/{shopId}/payment-methods/order

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Request Body

application/jsonRequired
paymentMethodsRequiredarray<integer>

Path Parameters

shopIdRequiredinteger

The shop ID.

curl -X PUT "https://api.sellauth.com/v1/shops/{shopId}/payment-methods/order" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "paymentMethods": [
      "culpa"
    ]
  }'

Toggle Payment Method

Toggles the active status of a payment method.

POST
/v1/shops/{shopId}/payment-methods/{paymentMethodId}/toggle

Authorization

AuthorizationRequiredBearer <token>

You can retrieve your API key by visiting your dashboard and clicking Account > API.

In: header

Path Parameters

shopIdRequiredinteger

The shop ID.

paymentMethodIdRequiredinteger

The payment method ID.

curl -X POST "https://api.sellauth.com/v1/shops/{shopId}/payment-methods/{paymentMethodId}/toggle" \
  -H "Authorization: Bearer <token>"