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 email address of the customer.
The country where the customer is located. Country should be sent as a ISO 3166-1 alpha-3 code.
The postal code/pincode of the customer's address. List of countries where pincode is mandatory are listed here.
- Production server
https://api.glomopay.com/api/v1/customer
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.glomopay.com/api/v1/customer \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Prabhat'\''s Arts & Crafts Pvt Ltd",
"customer_type": "individual",
"email": "prabhat+customerArt@glomopay.com",
"phone": "+91-9023456789",
"address": "123 Main St",
"city": "Anytown",
"state": "Anystate",
"country": "Ind",
"pincode": "560048"
}'
Customer created successfully
The country where the customer is located. Country should be sent as a ISO 3166-1 alpha-3 code.
The postal code/pincode of the customer's address. List of countries where pincode is mandatory are listed here.
Timestamp representing when the customer was created
{ "id": "cust_5JU9yv0lGSUP", "name": "Prabhat's Arts & Crafts Pvt Ltd", "customer_type": "individual", "email": "prabhat+customerArt@glomopay.com", "phone": "+91-9023456789", "address": "123 Main St", "city": "Anytown", "state": "Anystate", "country": "Ind", "pincode": "560048", "status": "active", "created_at": "2021-06-01T12:00:00Z", "updated_at": "2021-06-01T12:00:00Z" }
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/customer
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.glomopay.com/api/v1/customer?customer_type=individual&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 } }
- Production server
https://api.glomopay.com/api/v1/customer/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.glomopay.com/api/v1/customer/cust_5JU9yv0lGSUP \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Customer retrieved successfully
The country where the customer is located. Country should be sent as a ISO 3166-1 alpha-3 code.
The postal code/pincode of the customer's address. List of countries where pincode is mandatory are listed here.
Timestamp representing when the customer was created
{ "id": "cust_5JU9yv0lGSUP", "name": "Prabhat's Arts & Crafts Pvt Ltd", "customer_type": "individual", "email": "prabhat+customerArt@glomopay.com", "phone": "+91-9023456789", "address": "123 Main St", "city": "Anytown", "state": "Anystate", "country": "Ind", "pincode": "560048", "status": "active", "created_at": "2021-06-01T12:00:00Z", "updated_at": "2021-06-01T12:00:00Z" }