List payment rules
Changed onLists the payment rules on an account.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Query parameters
Only return rules belonging to this account. Defaults to the account the request is acting for.
Only return rules with this status.
Only return rules that take this action.
The field to sort by.
The sort direction.
Number of results to return from the start of the range.
Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.
Number of results to return from the end of the range.
Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.
Headers
Pins the request to a dated API version.
Response
A list of payment rules
Example response
{
"data": [
{
"account_id": "biz_xxxxxxxxxxxxxx",
"action": "block",
"conditions": {
"all": [
{
"field": "amount_in_usd",
"operator": "gte"
}
]
},
"created_at": "2026-01-01T12:00:00.000Z",
"id": "prule_xxxxxxxxxxxxxx",
"metadata": {},
"name": "Block high risk",
"status": "active",
"updated_at": "2026-01-01T12:00:00.000Z"
}
],
"page_info": {
"start_cursor": "WyJjdXJzb3IiLDFd"
}
}Changes
- warning
added the new
avs_checkenum value to thedata/items/conditions/all/items/fieldresponse property for the response status - info
removed the
address_line1_checkenum value from thedata/items/conditions/all/items/fieldresponse property for the response status - info
removed the
postal_code_checkenum value from thedata/items/conditions/all/items/fieldresponse property for the response status
- warning