- Update a merchant
Updates an existing merchant. Currently supports attaching a passport object for individual merchants and a registration_date for business merchants; more fields may be supported in future.
The applicable field is determined by the merchant's entity type, set at onboarding, rather than by the request body: send passport for an individual merchant and registration_date for a business merchant. A field that does not apply to the merchant's entity type is ignored.
Fields to update on an existing merchant. Currently supports passport for individual merchants and registration_date for business merchants; more fields may be supported in future. The applicable field is determined by the merchant's entity type, set at onboarding, rather than by the request body. A field that does not apply to the merchant's entity type is ignored.
- Production serverhttps://api.glomopay.com/api/v1/platform/merchants/{merchant_id}
curl -i -X PATCH \
https://api.glomopay.com/api/v1/platform/merchants/merch_68c777fcOOMpl \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"passport": {
"number": "P1234567",
"expiry_date": "2030-06-01",
"country_of_issuance": "IND"
}
}'Merchant updated successfully
Current onboarding status of the merchant.
created— the merchant has been submitted and screening has not finished.action_required— screening flagged the merchant and Glomo is reviewing it before onboarding can continue.pending— screening passed and the merchant's KYC or KYB review is in progress.success— the merchant is onboarded and can transact.failed— onboarding was rejected. Terminal.offboarded— a previously onboarded merchant has been removed. Its API keys stop working and it can no longer transact. Terminal.
Business sub-category (must be paired with correct category)
Gender (only required for individual entity_type)
Date of birth, as a calendar date in YYYY-MM-DD format with no time or time zone. Present only when entity_type is individual.
Country where the merchant is registered (ISO 3166-1 alpha-3)
List of countries where the merchant operates
[ "IND" ]
When the merchant was created, as an ISO 8601 date-time in UTC.
When the merchant was last updated, as an ISO 8601 date-time in UTC.
{ "owner_merchant_id": "merch_68511919RVuf6", "merchant_id": "merch_68c777fcOOMpl", "status": "success", "name": "John Doe", "category": "Agricultural Services", "entity_type": "individual", "sub_category": "Veterinary Services", "gender": "male", "date_of_birth": "2001-08-04", "registration_number": "REG123456", "registration_country": "IND", "address": { "address_line1": "123 Main St", "address_line2": "", "city": "Bangalore", "state": "Karnataka", "pincode": "560060", "country": "IND" }, "operation_countries": [ "IND" ], "created_at": "2025-10-07T06:11:47Z", "updated_at": "2025-10-07T06:11:47Z", "jwt_token": "child_merchant_JWT", "public_key": "live_6889e287VfqrPVPg" }