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 (v1)
https://api.glomopay.com/api/v1/
Production server (v2)
https://api.glomopay.com/api/v2/

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

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 details of the referral fees to be configured at the order or payment link level. Only platform businesses are allowed to create prices. The first Price created is set as default for a business.

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

Request

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

Security
JWT
Query
beneficiary_typestring

Type of beneficiary to filter

Enum"individual""business"
countrystring(iso-3166-1-alpha-3, case-insensitive)

The ISO 3166-1 alpha-3 code of the country to filter validations

Example: country=IND
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/beneficiaries?beneficiary_type=individual&country=IND&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 beneficiaries matching the filters

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

Request

Retrieves details of a beneficiary.

Security
JWT
Path
idstringrequired

The ID of the beneficiary

curl -i -X GET \
  'https://api.glomopay.com/api/v1/beneficiaries/{id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Beneficiary details

Bodyapplication/json
idstringread-only

The unique identifier for the beneficiary.

Example: "bene_5JU9yv0lGSUP"
holder_namestring

The name of the beneficiary.

Example: "Test Arts & Crafts Pvt Ltd"
account_numberstring

The account number of the beneficiary.

Example: "1234567890"
bank_namestring

The name of the bank where the account is held.

Example: "Yes Bank"
beneficiary_typestring

The type of beneficiary

Enum"individual""business"
bic_primarystring

The primary BIC of the bank account. This is the BIC of the bank where the account is held. This is also known as the SWIFT code.

Example: "QWERIN000"
bic_secondarystring

The local routing code or domestic clearing code of the bank account. For reference, this is the IFSC code in India, SORT in UK, ABA in the US, etc.

Example: "YESB0000002"
emailstring(email)

The email address of the beneficiary.

Example: "prabhat+beneficiaryArt@glomopay.com"
address_line1string

The street address of the beneficiary.

Example: "123 Main St"
address_line2string

The second line of street address of the beneficiary.

Example: "Near Apts"
citystring

The city where the beneficiary is located.

Example: "Anytown"
statestring

The state where the beneficiary is located.

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

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

Example: "Ind"
pincodestring

The postal code of the beneficiary's address.

Example: "560048"
nicknamestring

A nickname for the beneficiary.

Example: "Test Beneficiary"
intermediate_bank_namestring

The name of the intermediate bank, if any.

Example: "Intermediate Bank"
intermediate_bank_countrystring(iso-3166-1-alpha-3)

The country of the intermediate bank, if any. Country should be sent as a ISO 3166-1 alpha-3 code.

Example: "IND"
intermediate_bank_swift_codestring

The SWIFT code of the intermediate bank, if any.

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

Timestamp representing when the beneficiary was created

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

Timestamp representing when the beneficiary was last updated

Example: "2021-06-01T12:00:00Z"
Response
application/json
{ "id": "bene_5JU9yv0lGSUP", "holder_name": "Test Arts & Crafts Pvt Ltd", "account_number": "1234567890", "bank_name": "Yes Bank", "beneficiary_type": "individual", "bic_primary": "QWERIN000", "bic_secondary": "YESB0000002", "email": "prabhat+beneficiaryArt@glomopay.com", "address_line1": "123 Main St", "address_line2": "Near Apts", "city": "Anytown", "state": "Anystate", "country": "Ind", "pincode": "560048", "nickname": "Test Beneficiary", "intermediate_bank_name": "Intermediate Bank", "intermediate_bank_country": "IND", "intermediate_bank_swift_code": "INTBANKSWIFT", "created_at": "2021-06-01T12:00:00Z", "updated_at": "2021-06-01T12:00:00Z" }

Request

Creates a beneficiary with structured nested objects for beneficiary details, address, and bank account information.

Security
JWT
Bodyapplication/jsonrequired
categorystringrequired

The category of the beneficiary. Use "lrs" for LRS (Liberalised Remittance Scheme) beneficiaries or "payout" for payout beneficiaries.

Enum"lrs""payout"
Example: "lrs"
beneficiaryobjectrequired

The beneficiary details including name, contact information, and address.

beneficiary.​namestringrequired

The name of the beneficiary. This is a required field.

Example: "ACME Corporation"
beneficiary.​typestring

The type of beneficiary. Defaults to "business" if not provided.

Default "business"
Enum"individual""business"
Example: "business"
beneficiary.​emailstring(email)

The email address of the beneficiary.

Example: "finance@acme.com"
beneficiary.​phonestring

The phone number of the beneficiary.

Example: "+1-555-123-4567"
beneficiary.​nicknamestring

A nickname for the beneficiary. If not provided, it will be auto-generated as "{beneficiary_name} - {bank_name}".

Example: "ACME Primary Account"
beneficiary.​addressobjectrequired

The address of the beneficiary. All fields except address_line2 are required.

beneficiary.​address.​address_line1stringrequired

The street address of the beneficiary (required).

Example: "123 Business Park"
beneficiary.​address.​address_line2string

The second line of street address of the beneficiary (optional).

Example: "Suite 100"
beneficiary.​address.​citystringrequired

The city where the beneficiary is located (required).

Example: "New York"
beneficiary.​address.​statestringrequired

The state or administrative area where the beneficiary is located (required).

Example: "NY"
beneficiary.​address.​country_codestring(iso-3166-1-alpha-3)required

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

Example: "USA"
beneficiary.​address.​postal_codestringrequired

The postal code of the beneficiary's address (required).

Example: "10001"
bank_accountobjectrequired

The bank account details of the beneficiary.

bank_account.​account_numberstringrequired

The account number of the beneficiary (required).

Example: "1234567890"
bank_account.​namestringrequired

The name of the bank where the account is held (required).

Example: "Citibank NA"
bank_account.​swift_codestringrequired

The SWIFT/BIC code of the bank (required). Must be 8-11 characters with first 6 being letters only. For LRS category, must be exactly 8 characters (no branch suffix like XXX).

Example: "CITIUS33"
bank_account.​local_routing_numberstring

The local routing code or domestic clearing code of the bank account. Required for LRS category, optional for payout category. For reference, this is the IFSC code in India, SORT in UK, ABA in the US, etc.

Example: "021000089"
bank_account.​currencystringrequired

The currency of the bank account (required).

Example: "USD"
bank_account.​addressobjectrequired

The address of the bank. All fields except address_line2 are required.

bank_account.​address.​address_line1stringrequired

The street address of the bank (required).

Example: "388 Greenwich Street"
bank_account.​address.​address_line2string

The second line of street address of the bank (optional).

Example: ""
bank_account.​address.​citystringrequired

The city where the bank is located (required).

Example: "New York"
bank_account.​address.​statestringrequired

The state or administrative area where the bank is located (required).

Example: "NY"
bank_account.​address.​country_codestring(iso-3166-1-alpha-3)required

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

Example: "USA"
bank_account.​address.​postal_codestringrequired

The postal code of the bank's address (required).

Example: "10013"
bank_account.​intermediate_bankobject

Details of the intermediate/correspondent bank (optional). If provided, must be a valid object.

curl -i -X POST \
  https://api.glomopay.com/api/v2/beneficiaries \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "category": "lrs",
    "beneficiary": {
      "name": "ACME Corporation",
      "type": "business",
      "email": "finance@acme.com",
      "phone": "+1-555-123-4567",
      "nickname": "ACME Primary Account",
      "address": {
        "address_line1": "123 Business Park",
        "address_line2": "Suite 100",
        "city": "New York",
        "state": "NY",
        "country_code": "USA",
        "postal_code": "10001"
      }
    },
    "bank_account": {
      "account_number": "1234567890",
      "name": "Citibank NA",
      "swift_code": "CITIUS33",
      "local_routing_number": "021000089",
      "currency": "USD",
      "address": {
        "address_line1": "388 Greenwich Street",
        "city": "New York",
        "state": "NY",
        "country_code": "USA",
        "postal_code": "10013"
      },
      "intermediate_bank": {
        "name": "JPMorgan Chase Bank",
        "country": "USA",
        "swift_code": "CHASUS33",
        "account_number": "123456789"
      }
    }
  }'

Responses

Beneficiary created successfully

Bodyapplication/json
idstringread-only

The unique identifier for the beneficiary.

Example: "ben_5JU9yv0lGSUP"
namestring

The name of the beneficiary.

Example: "ACME Corporation"
typestring

The type of beneficiary. Defaults to "business" if not provided.

Enum"individual""business"
Example: "business"
categorystringread-only

The category of the beneficiary.

Enum"lrs""payout"
Example: "lrs"
emailstring(email)

The email address of the beneficiary.

Example: "finance@acme.com"
phonestring

The phone number of the beneficiary.

Example: "+1-555-123-4567"
nicknamestring

A nickname for the beneficiary. If not provided, auto-generated as "{beneficiary_name} - {bank_name}".

Example: "ACME Primary Account"
addressobject

The address of the beneficiary.

bank_accountobject

The bank account details of the beneficiary.

created_atstring(date-time)read-only

Timestamp representing when the beneficiary was created in ISO 8601 format.

Example: "2025-01-15T10:00:00Z"
updated_atstring(date-time)read-only

Timestamp representing when the beneficiary was last updated in ISO 8601 format.

Example: "2025-01-15T10:00:00Z"
Response
application/json
{ "id": "ben_5JU9yv0lGSUP", "name": "ACME Corporation", "type": "business", "category": "lrs", "email": "finance@acme.com", "phone": "+1-555-123-4567", "nickname": "ACME Primary Account", "created_at": "2025-01-15T10:00:00Z", "updated_at": "2025-01-15T10:00:00Z", "address": { "address_line1": "123 Business Park", "address_line2": "Suite 100", "city": "New York", "state": "NY", "country_code": "USA", "postal_code": "10001" }, "bank_account": { "account_number": "1234567890", "name": "Citibank NA", "swift_code": "CITIUS33", "local_routing_number": "021000089", "currency": "USD", "address": { … }, "intermediate_bank": { … } } }

Bank Account Validation

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

SchemasOperations

Document

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

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

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