Skip to content
On this page

Get Company account

Overview

Company account information can be retrieved using the following endpoint.

A GET request can be made to https://sandbox.tendopay.ph/api/payroll/jp/company/{tp_company_id} where {tp_company_id} is the TendoPay company id.

Alternatively a GET request can also be made to https://sandbox.tendopay.ph/api/payroll/jp/company/ref/{ref_company_id} where {ref_company_id} is your company's reference id.

TIP

For details on failed response codes, please visit Response Status

Example

Example Request:

bash
curl --location --request GET 'https://sandbox.tendopay.ph/api/payroll/v1/company/123456'

Example Response:200

json
{
  "message": "Request is queued",
  "tp_company_id": 10131,
  "ref_company_id": "DEMO-123460",
  "tin": "123456789001",
  "name": "SDS",
  "email_domain": "test.ph",
  "repayment_days": [
    15,
    30
  ],
  "address": "3/F JG Building C. Raymundo Ave",
  "status": "ACTIVATED",
  "created_at": "2022-05-11T18:29:20+08:00",
  "updated_at": "2022-05-11T18:39:47+08:00"
}