API specification for Glomo (1.0.0)
The Glomo API follows REST architecture, utilizing resource-oriented URLs for clarity. It handles form-encoded request bodies, delivers responses in JSON format, and operates with standard HTTP methods, authentication, and response codes.
You can download the complete API collection by using the download options on the right.
https://api.glomopay.com/api/v1/
The currency code in ISO 4217 format. Supported currencies: USD,EUR and GBP.
The currency code in ISO 4217 format. Supported currencies: USD,EUR and GBP.
The amount you want to convert. A positive integer representing the smallest currency unit. For example, if the amount is $299.00, then pass 29900 in this field. In the case of three decimal currencies, such as KWD, BHD and OMR, to represent an amount of 295.991, pass the value as 295990. And in the case of zero decimal currencies such as JPY, for amount ï¿¥295, pass the value as 295. Only one of `source_amount` or `target_amount` can be sent.
- Production server
https://api.glomopay.com/api/v1/balance_conversions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.glomopay.com/api/v1/balance_conversions \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"source_currency": "USD",
"target_currency": "USD",
"target_amount": 1000
}'
{ "id": "conv_6776d57dnbTWj", "from": { "amount": 1000, "currency": "USD" }, "to": { "amount": 1000, "currency": "USD" }, "fees": { "amount": 1000, "currency": "USD" }, "mid_market_rate": { "currency": "USD", "rate": 1.4 }, "status": "success", "created_at": "2021-01-01T00:00:00Z" }
The currency code in ISO 4217 format. Supported currencies: USD,EUR and GBP.
The currency code in ISO 4217 format. Supported currencies: USD,EUR and GBP.
ISO-8601 timestamp in UTC to filter resources created before this time. Use this to avoid Page drift
issue. See Pagination parameters for more details.
ISO-8601 timestamp in UTC to filter resources created after this time. Use this to avoid Page drift
issue. See Pagination parameters for more details.
- Production server
https://api.glomopay.com/api/v1/balance_conversions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.glomopay.com/api/v1/balance_conversions?source_currency=USD&target_currency=USD&before=2025-02-18T12%3A03%3A44Z&after=2025-01-18T12%3A03%3A44Z&per_page=20&page=1' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "data": [ { … } ], "page_meta": { "current": 2, "previous": 1, "next": 3, "per_page": 20, "pages": 10, "count": 200 } }