Skip to content

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.

Download OpenAPI description
Languages
Servers
Production server

https://api.glomopay.com/api/v1/

Balance

This resource represents your Glomo balance. You can retrieve it to see the current balance on your Glomo account in all currencies enabled for your account.

SchemasOperations

Balance Conversions

Balance Conversion resource represents the details of the balance conversion. The balance conversion is the conversion of the balance from one supported currency to another supported currency.

SchemasOperations

Orders

This resource represents the order details. The order is the request to receive payment from your customer.

SchemasOperations

Customer

This resource represents a customer of your business. The customer can be an individual or a business from whom you will receive payments.

SchemasOperations

Customer

idstringread-only

The unique identifier for the customer.

Example: "cust_5JU9yv0lGSUP"
namestring

The name of the customer.

Example: "Prabhat's Arts & Crafts Pvt Ltd"
customer_typestring

The type of customer

Enum"individual""business"
emailstring(email)

The email address of the customer.

Example: "prabhat+customerArt@glomopay.com"
phonestring

The phone number of the customer, with country code

Example: "+91-9023456789"
dobstring

The date of birth of the customer

Example: "29-11-2003"
nationalitystring

The nationality of the customer

Example: "IND"
addressstring

The street address of the customer.

Example: "123 Main St"
citystring

The city where the customer is located.

Example: "Anytown"
statestring

The state where the customer is located.

Example: "Anystate"
countrystring(iso-3166-1-alpha-3)

The country where the customer is located. Country should be sent as a ISO 3166-1 alpha-3 code.

Example: "IND"
pincodestring

The postal code/pincode of the customer's address. List of countries where pincode is mandatory are listed here.

Example: "560048"
statusstringread-only

The status of the customer.

Example: "active"
created_atstring(timestamp)read-only

Timestamp representing when the customer was created

Example: "2021-06-01T12:00:00Z"
updated_atstring(timestamp)read-only

Timestamp representing when the customer was last updated

Example: "2021-06-01T12:00:00Z"
{ "id": "cust_5JU9yv0lGSUP", "name": "Prabhat's Arts & Crafts Pvt Ltd", "customer_type": "individual", "email": "prabhat+customerArt@glomopay.com", "phone": "+91-9023456789", "dob": "29-11-2003", "nationality": "IND", "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" }

Request

Creates a customer with basic information such as name, contact information, and address. To check complete list of API validations, click here.

Security
JWT
Bodyapplication/jsonrequired
namestringrequired

The name of the customer.

Example: "Prabhat's Arts & Crafts Pvt Ltd"
customer_typestringrequired

The type of customer

Enum"individual""business"
emailstring(email)required

The email address of the customer.

Example: "prabhat+customerArt@glomopay.com"
phonestring

The phone number of the customer, with country code

Example: "+91-9023456789"
dobstring

The date of birth of the customer

Example: "29-11-2003"
nationalitystring

The nationality of the customer

Example: "IND"
addressstringrequired

The street address of the customer.

Example: "123 Main St"
citystringrequired

The city where the customer is located.

Example: "Anytown"
statestringrequired

The state where the customer is located.

Example: "Anystate"
countrystring(iso-3166-1-alpha-3)required

The country where the customer is located. Country should be sent as a ISO 3166-1 alpha-3 code.

Example: "IND"
pincodestringrequired

The postal code/pincode of the customer's address. List of countries where pincode is mandatory are listed here.

Example: "560048"
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",
    "dob": "29-11-2003",
    "nationality": "IND",
    "address": "123 Main St",
    "city": "Anytown",
    "state": "Anystate",
    "country": "IND",
    "pincode": "560048"
  }'

Responses

Customer created successfully

Bodyapplication/json
idstringread-only

The unique identifier for the customer.

Example: "cust_5JU9yv0lGSUP"
namestring

The name of the customer.

Example: "Prabhat's Arts & Crafts Pvt Ltd"
customer_typestring

The type of customer

Enum"individual""business"
emailstring(email)

The email address of the customer.

Example: "prabhat+customerArt@glomopay.com"
phonestring

The phone number of the customer, with country code

Example: "+91-9023456789"
dobstring

The date of birth of the customer

Example: "29-11-2003"
nationalitystring

The nationality of the customer

Example: "IND"
addressstring

The street address of the customer.

Example: "123 Main St"
citystring

The city where the customer is located.

Example: "Anytown"
statestring

The state where the customer is located.

Example: "Anystate"
countrystring(iso-3166-1-alpha-3)

The country where the customer is located. Country should be sent as a ISO 3166-1 alpha-3 code.

Example: "IND"
pincodestring

The postal code/pincode of the customer's address. List of countries where pincode is mandatory are listed here.

Example: "560048"
statusstringread-only

The status of the customer.

Example: "active"
created_atstring(timestamp)read-only

Timestamp representing when the customer was created

Example: "2021-06-01T12:00:00Z"
updated_atstring(timestamp)read-only

Timestamp representing when the customer was last updated

Example: "2021-06-01T12:00:00Z"
Response
application/json
{ "id": "cust_5JU9yv0lGSUP", "name": "Prabhat's Arts & Crafts Pvt Ltd", "customer_type": "individual", "email": "prabhat+customerArt@glomopay.com", "phone": "+91-9023456789", "dob": "29-11-2003", "nationality": "IND", "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" }

Request

Returns a list of your customers. The customers are returned sorted by creation date, with the most recent customers appearing first.

Security
JWT
Query
customer_typestring

Type of customer to filter

Enum"individual""business"
email_addressstring(email)

Filter customers by email address

beforestring(timestamp)

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.

Example: before=2025-02-18T12:03:44Z
afterstring(timestamp)

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.

Example: after=2025-01-18T12:03:44Z
per_pageinteger

Number of resources per page. Should be between 1 and 100.

Default 20
pageinteger

Page number for pagination. Starts from 1. Get the next page number from the next field in the response.

Default 1
curl -i -X GET \
  'https://api.glomopay.com/api/v1/customer?customer_type=individual&email_address=user%40example.com&before=2025-02-18T12%3A03%3A44Z&after=2025-01-18T12%3A03%3A44Z&per_page=20&page=1' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

List of customers matching the filters

Bodyapplication/json
dataArray of objects(Customer)
page_metaobject(PageMeta)
Response
application/json
{ "data": [ { … } ], "page_meta": { "current": 2, "previous": 1, "next": 3, "per_page": 20, "pages": 10, "count": 200 } }

Document

Document resource represents the documents details uploaded. This document is used in payin, payout, etc.

Operations

Payment

This resource represents a payment attempt made by your customer. The payment can either be successfully completed or failed, depending on various factors.

SchemasOperations

Refund

This resource represents a refund transaction from your Glomo account to your customer. You can retrieve it to see the details of the refund transaction.

SchemasOperations

Price

This resource represents the pricing details of the payin or payout. The pricing details include the fees and the pricing type

SchemasOperations

Subscription

This resource represents a recurring billing agreement for a customer. Subscriptions allow businesses to automatically charge customers on a regular schedule according to a defined billing plan.

SchemasOperations

Payout

This resource represents the disbursement transactions from your Glomo account to your beneficiaries.

SchemasOperations

Beneficiary

This resource represents a payee of a payout initiated by your business. The beneficiary can be an individual or a business to whom you will send funds.

SchemasOperations

Bank Account Validation

Bank Account Validation resource represents the validation details of a bank account.

SchemasOperations

Internal Transfer

This resource represents internal fund movements between merchant accounts within the platform–partner model. Internal transfers enable seamless fund movement between merchants who operate under the same platform account. Internal transfers are restricted to accounts linked under the same platform hierarchy. The following transfer directions are supported:

Transfer TypeDescription
P → CFrom a Platform (P) account to one of its Child (C) merchant accounts.
C → PFrom a Child (C) merchant account back to its Platform (P) account.
C → C (same P)Between Child (C) accounts under the same Platform (P).
SchemasOperations

Withdrawal

[DEPRECATED] This resource represents the withdrawal transaction from your Glomo account to your withdrawal account.

SchemasOperations

Withdrawal Account

This resource represents the withdrawal account details. The withdrawal account is the bank account where the withdrawal amount will be credited.

SchemasOperations

Settlement

This resource represents the settlement details. The settlement is the process of transferring funds from your Glomo account to your bank account.

SchemasOperations

Virtual Account

This resource represents virtual account details. A virtual account is a unique account number provisioned for a customer, allowing payments to be received and transactions to be tracked against that customer.

SchemasOperations

Platform

This resource provides platform functionality that enables platforms to onboard merchants onto Glomo, with each merchant having their own dedicated Virtual Accounts (VA).

SchemasOperations