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.

Operations

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.

Operations

Orders

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

Operations

Customer

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

Operations

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.

Operations

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.

Operations

Price

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

Operations

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.

Operations

Payout

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

Operations

Update RFI for Payout

Request

Security
JWT
Path
idstringrequired

The unique identifier for the payout.

Example: payout_E602dMzgjpDC
Bodyapplication/jsonrequired
documentsArray of objects(AttachedDocument)required
documents[].​idstringrequired

The unique identifier for the Document.

Example: "doc_nYUqLpuYQ0M8"
documents[].​rfi_doc_idstring or nullrequired

The unique identifier for the RFI Document. This will be null if the document is not an RFI Document.

Example: "rfidoc_nYUqLpuYQ0M8"
curl -i -X PATCH \
  https://api.glomopay.com/api/v1/payouts/payout_E602dMzgjpDC/update_rfi \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "documents": [
      {
        "id": "doc_nYUqLpuYQ0M8",
        "rfi_doc_id": "rfidoc_nYUqLpuYQ0M8"
      }
    ]
  }'

Responses

Document attached successfully

Bodyapplication/json
idstring(uuid)read-only

The unique identifier for the payin.

Example: "payout_DdWp_HUbOnlg"
statusstringread-only

The status of the payout.

Example: "success"
destination_amountnumber>= 1

The amount the beneficiary will receive, expressed in the smallest unit of the specified currency (e.g., cents for USD, paisa for INR). For example, 1000 represents $10.00 in USD. The actual currency is determined by the currency field. Note: "cents" is used generically to denote the minimal currency unit, not necessarily USD.

Example: 1000
destination_currencystring(iso-4217)

The currency code in ISO 4217 format. For example, USD.

Example: "USD"
source_amountnumber>= 1

The amount you intend to send, also specified in the smallest unit of the selected currency. For example, 1000 equates to $10.00 in USD. The currency field determines which currency is used. As with destination_amount, "cents" is a placeholder for the minimal unit, not specifically USD.

Example: 1000
source_currencystring(iso-4217)

The currency code in ISO 4217 format. For example, USD.

Example: "USD"
beneficiary_idstring(uuid)

The unique identifier for the beneficiary.

Example: "bene_5JU9yv0lGSUP"
documentsArray of objects(AttachedDocument)

The attached documents for the payout.

purpose_codestring

Purpose code for why you want to receive this payment

Example: "S0017"
mid_market_ratenumberread-only

The mid-market rate at the time of payout creation.

Example: 1
feesobjectread-only

The fees applied to this payout

created_atstring(timestamp)read-only

Timestamp representing when the payout was created

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

Timestamp representing when the payout was last updated

Example: "2021-06-01T12:00:00Z"
Response
application/json
{ "id": "payout_DdWp_HUbOnlg", "status": "success", "destination_amount": 1000, "destination_currency": "USD", "source_amount": 1000, "source_currency": "USD", "beneficiary_id": "bene_5JU9yv0lGSUP", "documents": [ {} ], "purpose_code": "S0017", "mid_market_rate": 1, "fees": { "fx": {}, "transaction": {} }, "created_at": "2021-06-01T12:00:00Z", "updated_at": "2021-06-01T12:00:00Z" }

Mock update a payout status

Request

Security
JWT
Bodyapplication/jsonrequired
idstring(uuid)required

The unique identifier for the payout.

Example: "payout_E602dMzgjpDC"
statusstringrequired

The status of the payout.

Enum"success""failed""action_required"
rfi_document_idsArray of strings

List of documents to attach to the payout

Example: ["rfidoc_5JU9yv0lGSUP","rfidoc_678a5aa9SKkEr"]
curl -i -X PATCH \
  https://api.glomopay.com/api/v1/payouts/mock \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "payout_E602dMzgjpDC",
    "status": "success",
    "rfi_document_ids": [
      "rfidoc_5JU9yv0lGSUP",
      "rfidoc_678a5aa9SKkEr"
    ]
  }'

Responses

Payout updated successfully

Bodyapplication/json
idstring(uuid)read-only

The unique identifier for the payin.

Example: "payout_DdWp_HUbOnlg"
statusstringread-only

The status of the payout.

Example: "success"
destination_amountnumber>= 1

The amount the beneficiary will receive, expressed in the smallest unit of the specified currency (e.g., cents for USD, paisa for INR). For example, 1000 represents $10.00 in USD. The actual currency is determined by the currency field. Note: "cents" is used generically to denote the minimal currency unit, not necessarily USD.

Example: 1000
destination_currencystring(iso-4217)

The currency code in ISO 4217 format. For example, USD.

Example: "USD"
source_amountnumber>= 1

The amount you intend to send, also specified in the smallest unit of the selected currency. For example, 1000 equates to $10.00 in USD. The currency field determines which currency is used. As with destination_amount, "cents" is a placeholder for the minimal unit, not specifically USD.

Example: 1000
source_currencystring(iso-4217)

The currency code in ISO 4217 format. For example, USD.

Example: "USD"
beneficiary_idstring(uuid)

The unique identifier for the beneficiary.

Example: "bene_5JU9yv0lGSUP"
documentsArray of objects(AttachedDocument)

The attached documents for the payout.

purpose_codestring

Purpose code for why you want to receive this payment

Example: "S0017"
mid_market_ratenumberread-only

The mid-market rate at the time of payout creation.

Example: 1
feesobjectread-only

The fees applied to this payout

created_atstring(timestamp)read-only

Timestamp representing when the payout was created

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

Timestamp representing when the payout was last updated

Example: "2021-06-01T12:00:00Z"
Response
application/json
{ "id": "payout_DdWp_HUbOnlg", "status": "success", "destination_amount": 1000, "destination_currency": "USD", "source_amount": 1000, "source_currency": "USD", "beneficiary_id": "bene_5JU9yv0lGSUP", "documents": [ {} ], "purpose_code": "S0017", "mid_market_rate": 1, "fees": { "fx": {}, "transaction": {} }, "created_at": "2021-06-01T12:00:00Z", "updated_at": "2021-06-01T12:00:00Z" }

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.

Operations

Bank Account Validation

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

Operations

Withdrawal

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

Operations

Withdrawal Account

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

Operations

Settlement

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

Operations