Account Claims

Set a password and claim the account

Validates the claim token, terms acceptance and password policy, creates the user with the account_owner role against the claim-eligible child organization, then auto-logs in (refresh token in HttpOnly cookie).

post/v1/account_claims/complete

Request

  • Base URL
    https://identity-api.paymongo.com
  • URL
    https://identity-api.paymongo.com/v1/account_claims/complete
  • Auth
    none required

Request body

Example request

{
  "data": {
    "attributes": {
      "accepted_terms": true,
      "password": "NewStr0ng!Pass",
      "password_confirmation": "NewStr0ng!Pass",
      "token": "3mJr7AoUXx2Wqd8Lz9Kf"
    }
  }
}

Response

Created

has_moreboolean

Example response

{
  "data": {
    "attributes": {
      "expiry_timer": 600,
      "organization_id": "org_123",
      "user_contact_number": "+639171234567",
      "user_first_name": "Juan",
      "user_last_name": "dela Cruz"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.