Docs//
API reference
/- Update merchant status
Merchant
Onboard a merchant
Retrieve a merchant
Update a merchant
Update merchant status
Allows platforms to update the status of a merchant. This endpoint is available in non-production environments only.
Security
JWT
- Production serverhttps://api.glomopay.com/api/v1/platform/merchants/status-update
curl -i -X PATCH \
https://api.glomopay.com/api/v1/platform/merchants/status-update \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"target_status": "success",
"merchant_id": "merch_68511919RVuf6"
}'Merchant status 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.
Enum:"created""action_required""pending""success""failed""offboarded"
Example:"success"
Business sub-category (must be paired with correct category)
Example:"Veterinary Services"
Gender (only required for individual entity_type)
Enum:"male""female""undefined"
Example:"male"
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.
Example:"2001-08-04"
Country where the merchant is registered (ISO 3166-1 alpha-3)
Example:"IND"
List of countries where the merchant operates
Example:
[ "IND" ]
When the merchant was created, as an ISO 8601 date-time in UTC.
Example:"2025-10-07T06:11:47Z"
When the merchant was last updated, as an ISO 8601 date-time in UTC.
Example:"2025-10-07T06:11:47Z"
Response
{ "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" }