> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anyspend.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Check Stripe support

Checks if Stripe onramp and Stripe Web2 are supported based on IP address location and optional transaction amount

` GET /onramp/stripe/supported `

Check Stripe support

Checks if Stripe onramp and Stripe Web2 are supported based on IP address location and optional transaction amount

## Servers

- ` https://mainnet.anyspend.com ` — Production server

## Parameters

### ` usdAmount ` (query, optional)

Optional USD amount for transaction limit checks

- ` value `: type ` string `

Example:

```json
"100.00"
```

## Responses

### ` 200 ` — Stripe support status retrieved successfully

Content type: ` application/json `

- ` value `: type ` object `

  - example: ` {"success":true,"message":"Stripe support status retrieved successfully","data":{"stripeOnramp":true,"stripeWeb2":{"isSupport":false}},"statusCode":200} `

  - Required fields: ` success `, ` message `, ` data `, ` statusCode `

  - ` success `: type ` boolean `

    - example: ` true `

  - ` message `: type ` string `

    - example: ` "Stripe support status retrieved successfully" `

  - ` data `: type ` object `

    - Required fields: ` stripeOnramp `, ` stripeWeb2 `

    - ` stripeOnramp `: type ` boolean ` — Whether Stripe onramp is supported for this location/amount

      - example: ` true `

    - ` stripeWeb2 `: type ` unknown `

      - ` oneOf alternative 1 `: type ` object ` — Stripe Web2 is not supported

        - Required fields: ` isSupport `

        - ` isSupport `: type ` boolean `

          - example: ` false `

      - ` oneOf alternative 2 `: type ` object ` — Stripe Web2 is supported with fee breakdown

        - Required fields: ` isSupport `, ` formattedTotalUsd `, ` formattedOnrampUsd `, ` formattedFeeUsd `

        - ` isSupport `: type ` boolean `

          - example: ` true `

        - ` formattedTotalUsd `: type ` string ` — Total payment amount formatted in USD

          - example: ` "10.00" `

        - ` formattedOnrampUsd `: type ` string ` — Onramp amount formatted in USD

          - example: ` "9.50" `

        - ` formattedFeeUsd `: type ` string ` — Stripe fee formatted in USD

          - example: ` "0.50" `

  - ` statusCode `: type ` number `

    - example: ` 200 `

Example:

```json
{
  "success": true,
  "message": "Stripe support status retrieved successfully",
  "data": {
    "stripeOnramp": true,
    "stripeWeb2": {
      "isSupport": false
    }
  },
  "statusCode": 200
}
```

### ` 400 ` — Bad request

Content type: ` application/json `

- ` value `: type ` object `

  - Required fields: ` success `, ` message `, ` statusCode `

  - ` success `: type ` boolean `

    - example: ` false `

  - ` message `: type ` string `

    - example: ` "Bad request" `

  - ` statusCode `: type ` number `

    - example: ` 400 `

## Request examples

### cURL

```curl
curl -X GET 'https://mainnet.anyspend.com/onramp/stripe/supported'
```

### JavaScript

```javascript
const response = await fetch('https://mainnet.anyspend.com/onramp/stripe/supported', {
  method: 'GET'
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

response = requests.get('https://mainnet.anyspend.com/onramp/stripe/supported')
print(response.json())
```