v1

latestOpenAPI 3.1.02026-07-24233206489.1 KB
internal-requests

Patch onboarding request data (S2S only)

Updates request KYB data and organization fields without changing request status. Only the fields provided in kyb_overrides will be updated. Returns 400 error if any key in kyb_overrides is not in the allowed list. This endpoint is for internal use only and requires S2S authentication.

patch/v1/internal/requests/{id}

Path parameters

idstring required

Request ID

Request body

accountIDstring
actorstring

Email of the person making the change (from JWT)

idstring required
kyb_overridesstring required

KybOverrides allows updating specific KYB data values and organization fields Only the fields included in this map will be updated in both:

  1. Request KybData (stored in database)
  2. Core organization API

If nil: No updates will be performed If empty map {}: No updates (returns request as-is) If provided with fields: Updates only those specific fields

E-Wallet accepted keys:

  • business_type, business_legal_name, customer_service_number, support_email
  • business_website, tax_gross_remittances, plugin, is_one_person_corporation

Standard Wallet accepted keys:

  • business_age, business_size, business_tin, business_trade_name
  • business_address.city, business_address.country, business_address.line1, business_address.line2, business_address.postal_code, business_address.state
  • business_has_physical_stores, business_industry, business_description

Account Activation accepted keys:

  • account_type, business_type, business_trade_name
  • business_legal_name, business_dti_registered_name, business_description

Example (e-wallet): {"business_type": "corporation", "business_legal_name": "Acme Corp", "business_website": "https://acme.com"} Example (account activation): {"business_trade_name": "Updated Name", "business_description": "Updated description"} Account Activation accepted keys:

  • account_type, business_type, business_trade_name
  • business_legal_name, business_dti_registered_name, business_description

Example (e-wallet): {"business_type": "corporation", "business_legal_name": "Acme Corp", "business_website": "https://acme.com"} Example (account activation): {"business_trade_name": "Updated Name", "business_description": "Updated description"}

Example request

{
  "kyb_overrides": "{\"business_type\":\"corporation\",\"business_legal_name\":\"Acme Corp\"}"
}

Response

OK

has_moreboolean

Example response

{
  "data": {
    "account_id": "acct_01hzy8n3k2b5xq9m4p7r6t8w1v",
    "product_code": "prd_svc_paymongo_ewallet_gcash",
    "request_type": "onboarding",
    "requester_id": "usr_01hzy8n3k2b5xq9m4p7r6t8w1v"
  }
}