- 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 merchant status
Business sub-category (must be paired with correct category)
Gender (only required for individual entity_type)
Date of birth (only required for individual entity_type)
Country where the merchant is registered (ISO 3166-1 alpha-3)
List of countries where the merchant operates
[ "IND" ]
Timestamp when the merchant was created
Timestamp when the merchant was last updated
{ "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" }