Checking Limits

Wyre partners have no limit on the number of users or the total amount purchases made by their users but every user of the widget has a set of purchase limits. Those limits are per user are: Domestic User (US): Daily: $500 Weekly: $500 Yearly: $2500

International User: Daily: $500 Weekly: $2000 Yearly: $3000 The limits work on a rolling basis so if someone reached their weekly limit on a Friday they would have to wait 7 days until the following Friday to make another purchase up to their weekly Limit.

How to Check a Users Limits

To quote current limits you should place a POST call with the target billing address that will be used in the order. Country must be a valid 2 characters ISO 3166-1 alpha-2 country code.

The limit check conditions are as follows: Daily limits, Weekly limits, Yearly limits

The parameter accountId is completely optional. For partners with custom limits, they must include their Wyre's accountId so users will inherit custom limits. If no specified will fall back to standard limits.

If the user exceeds the daily limit, but still have a weekly limit to spend he should wait until tomorrow. Any order above dailyRemaining, weeklyRemaining or yearlyRemaining will reject the order.

API Definition POST

https://api.sendwyre.com/v3/widget/limits/calculate

Parameters

Parameter

Class

Function

walletType:

string

Wallet type, must be either APPLE_PAY or DEBIT_CARD

address:

string JSON

See example for payload, all fields are required.

accountId:

string

Partner account id

Examples

curl -X POST \
  API_URL/v3/widget/limits/calculate \
  -H 'Content-Type: application/json' \
  -d '{
  "walletType": "DEBIT_CARD",
  "accountId": "AA_BBCCDDEEDD",
  "address": {
    "street1": "1550 Bryant Street",
    "city": "San Francisco",
    "state": "CA",
    "postalCode": "94103",
    "country": "US"
  }
}'

Result Format

{
    "dailyTotalSpent": 0.00,
    "weeklyTotalSpent": 2.00,
    "yearlyTotalSpent": 23.15,
    "dailyTotal": 260.00,
    "weeklyTotal": 1000.00,
    "yearlyTotal": 1500.00,
    "dailyRemaining": 260.00,
    "weeklyRemaining": 998.00,
    "yearlyRemaining": 1476.85
}

Last updated

Was this helpful?