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 balance which you want use to make the withdrawal. For example, USD. This is the currency in which the amount will be deducted from your balance. The target currency in which the amount will be settled will be the currency set in the withdrawal account.
- Production server
https://api.glomopay.com/api/v1/withdrawals
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.glomopay.com/api/v1/withdrawals \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"amount": 1000,
"balance_currency": "USD",
"withdrawal_account_id": "accwith_5JU9yv0lGSUP"
}'
Withdrawal created successfully
The status of the withdrawal.
The amount you want to receive in cents. For example, 1000 cents is $10.00. The currency is determined by the currency
field. Cents
is a general term for the smallest unit of currency in any currency. It does not necessarily mean USD cents.
The unique identifier for the withdrawal account.
The payment method to use for the withdrawal.
The amount in cents that was deducted from your balance for this withdrawal.
The mid-market rate at the time of withdrawal creation.
Timestamp representing when the payin was created
{ "id": "payout_DdWpHUbOnlg", "status": "success", "currency": "USD", "amount": 1000, "withdrawal_account_id": "accwith_5JU9yv0lGSUP", "payment_method": "bank_transfer", "balance_used": [ { … } ], "purpose_code": "S0017", "mid_market_rate": [ { … } ], "fx_fees": [ { … } ], "txn_fees": [ { … } ], "created_at": "2021-06-01T12:00:00Z", "updated_at": "2021-06-01T12:00:00Z" }
The unique identifier of the beneficiary
Status of withdrawal to filter
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/withdrawals
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.glomopay.com/api/v1/withdrawals?withdrawal_account_id=accwith_162843c10333&status=in_progress&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 } }