curl --request GET \
--url https://sg.sandbox.api.reap.global/policies/ \
--header 'Authorization: Bearer <token>' \
--header 'Reap-Version: <reap-version>'const options = {
method: 'GET',
headers: {'Reap-Version': '<reap-version>', Authorization: 'Bearer <token>'}
};
fetch('https://sg.sandbox.api.reap.global/policies/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sg.sandbox.api.reap.global/policies/"
headers = {
"Reap-Version": "<reap-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "<string>",
"scope": {
"type": "PROJECT"
},
"status": "ACTIVE",
"name": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"type": "MERCHANT_RESTRICTION",
"config": {
"match": {
"dimension": "MCC",
"codes": [
"<string>"
]
}
}
}
],
"nextCursor": "<string>"
}List policies
Returns a paginated list of your policies, optionally filtered by type, status, or scope. By default only ACTIVE policies are returned; pass an explicit status filter to include disabled ones.
curl --request GET \
--url https://sg.sandbox.api.reap.global/policies/ \
--header 'Authorization: Bearer <token>' \
--header 'Reap-Version: <reap-version>'const options = {
method: 'GET',
headers: {'Reap-Version': '<reap-version>', Authorization: 'Bearer <token>'}
};
fetch('https://sg.sandbox.api.reap.global/policies/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sg.sandbox.api.reap.global/policies/"
headers = {
"Reap-Version": "<reap-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "<string>",
"scope": {
"type": "PROJECT"
},
"status": "ACTIVE",
"name": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"type": "MERCHANT_RESTRICTION",
"config": {
"match": {
"dimension": "MCC",
"codes": [
"<string>"
]
}
}
}
],
"nextCursor": "<string>"
}Authorizations
API key as Bearer token
Headers
API version (YYYY-MM-DD)
2025-02-14 "2025-02-14"
Query Parameters
Maximum number of items to return (1-100, default: 20)
x <= 10020
50
100
Opaque cursor for pagination. Pass nextCursor from previous response to get next page.
Filter by policy type (comma-separated).
MERCHANT_RESTRICTION, CHANNEL_RESTRICTION, TRANSACTION_AMOUNT_LIMIT, SPEND_LIMIT, AUTHORIZATION_COUNT_LIMIT Filter by status (comma-separated). Defaults to ACTIVE; pass an explicit value (e.g. ACTIVE,DISABLED) to include disabled policies.
ACTIVE, DISABLED Filter by scope type (comma-separated).
PROJECT, USER, CARD Filter by the exact entity the policy attaches to.
Response
Response for status 200
Policy resource
- MerchantRestriction
- ChannelRestriction
- TransactionAmountLimit
- SpendLimit
- AuthorizationCountLimit
Show child attributes
Show child attributes
Cursor for next page, or null if no more items