TIN Update¶
Updates the details held on an existing Tax Identification Number (TIN), for example after a change of address. It's a single call.
Before you start: upload the CAC registration certificate with FileUpload.
Update TIN details¶
POSThttps://partners.diylaw.ng/api/order/v1/TinUpdate
{
"company_name": "Acme Foods Ltd",
"tin_number": "23456789-0001",
"certificate": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc5.pdf",
"registration_date": "2024-09-12",
"rc_number": "RC1234567",
"business_address": "12 Marina Road",
"phone": "08012345678",
"email": "[email protected]"
}
curl -X POST "https://partners.diylaw.ng/api/order/v1/TinUpdate" \
-H "Authorization: Bearer $DIYLAW_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"company_name": "Acme Foods Ltd",
"tin_number": "23456789-0001",
"certificate": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc5.pdf",
"registration_date": "2024-09-12",
"rc_number": "RC1234567",
"business_address": "12 Marina Road",
"phone": "08012345678",
"email": "[email protected]"
}
JSON
{
"orderReference": "m2f8d4q6ns",
"data": {
"company_name": "Acme Foods Ltd",
"tin_number": "23456789-0001",
"certificate": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc5.pdf",
"registration_date": "2024-09-12",
"rc_number": "RC1234567",
"business_address": "12 Marina Road",
"phone": "08012345678",
"email": "[email protected]"
}
}
Save orderReference to read the order back or match it on your dashboard.
Fields¶
| Field | Type | Required | Notes |
|---|---|---|---|
company_name |
string, max 200 | Yes | Registered name of the business or company. |
tin_number |
string, max 15 | Yes | The existing Tax Identification Number. |
certificate |
file reference from FileUpload | Yes | The CAC registration certificate. |
registration_date |
date, YYYY-MM-DD |
Yes | Date the business was registered with CAC. |
rc_number |
string, max 20 | Yes | CAC registration number (RC or BN number). |
business_address |
string, max 250 | No | |
phone |
string, max 200 | Yes | |
email |
string, email | Yes |
If TIN Update isn't enabled for your account, a valid request returns 403. See Errors.
Read a TIN Update order¶
GEThttps://partners.diylaw.ng/api/order/v1/TinUpdate?order-ref={orderReference}
{
"orderReference": "m2f8d4q6ns",
"data": {
"company_name": "Acme Foods Ltd",
"tin_number": "23456789-0001",
"certificate": "api_uploads/1/Xb7Qm2Kp9Lr4Tz8Vn1Wc5.pdf",
"registration_date": "2024-09-12",
"rc_number": "RC1234567",
"business_address": "12 Marina Road",
"phone": "08012345678",
"email": "[email protected]"
}
}