Get fee
curl --request GET \
--url https://sg.sandbox.api.reap.global/fees/{id} \
--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/fees/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sg.sandbox.api.reap.global/fees/{id}"
headers = {
"Reap-Version": "<reap-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "FX_MARKUP",
"value": {
"unit": "BPS",
"bps": 51
},
"scope": {
"type": "PROJECT"
},
"version": 0,
"createdAt": "<string>",
"updatedAt": "<string>"
}{
"error": {
"code": "FEE_NOT_FOUND",
"message": "<string>",
"detail": {}
}
}Fees
Get fee
Retrieves a fee row by ID.
GET
/
fees
/
{id}
Get fee
curl --request GET \
--url https://sg.sandbox.api.reap.global/fees/{id} \
--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/fees/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sg.sandbox.api.reap.global/fees/{id}"
headers = {
"Reap-Version": "<reap-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "FX_MARKUP",
"value": {
"unit": "BPS",
"bps": 51
},
"scope": {
"type": "PROJECT"
},
"version": 0,
"createdAt": "<string>",
"updatedAt": "<string>"
}{
"error": {
"code": "FEE_NOT_FOUND",
"message": "<string>",
"detail": {}
}
}Required scope: FEES_READ
Headers
Response
A cardholder fee row.