{
  "x402Version": 2,
  "id": 40604,
  "slug": "40604",
  "resource": "https://afriref.dev/v1/answers/payroll",
  "description": "Gross-to-net payroll: PAYE + statutory employee deductions → net take-home (Nigeria, Kenya)",
  "type": "http",
  "resourceType": "Insurance",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x1F0409ccD20A2fb497d4DeCeF4E17e9d0688FeA6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "100000",
      "amountUsd": 0.1,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "assumptions": {
            "description": "Disclosed assumptions (e.g. Nigeria 40/30/10 pay split, sector default)",
            "type": "array"
          },
          "gross_pay": {
            "type": "number"
          },
          "income_tax": {
            "description": "PAYE payable",
            "type": "number"
          },
          "net_pay": {
            "description": "Net take-home pay",
            "type": "number"
          },
          "provenance": {
            "description": "Bracket instrument + contribution-law citations",
            "type": "object"
          },
          "receipt": {
            "description": "Only when receipt=true on a paid 200. kind answer_receipt. Verify at /certified/public-key.",
            "type": "object"
          },
          "scope_note": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "statutory_deductions": {
            "description": "Employee social-security contributions withheld",
            "type": "object"
          },
          "tax_breakdown": {
            "description": "Per-bracket workings",
            "type": "array"
          },
          "taxable_income": {
            "type": "number"
          }
        },
        "required": [
          "status",
          "net_pay",
          "income_tax",
          "statutory_deductions"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "country": "ke",
            "gross": 500000,
            "period": "month"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "annual_rent": {
                    "description": "Nigeria: annual rent paid (unlocks rent relief, capped ₦500,000)",
                    "type": "number"
                  },
                  "basic": {
                    "description": "Nigeria: basic pay (for exact pension/NHF base; else a 40/30/10 split is assumed and disclosed)",
                    "type": "number"
                  },
                  "country": {
                    "description": "ISO country code (payroll supported: Nigeria, Kenya)",
                    "enum": [
                      "ke",
                      "ng"
                    ],
                    "type": "string"
                  },
                  "gross": {
                    "description": "Gross pay in local currency",
                    "type": "number"
                  },
                  "housing": {
                    "description": "Nigeria: housing allowance",
                    "type": "number"
                  },
                  "insurance_premium": {
                    "description": "Kenya: insurance premium (15% relief, capped KES 5,000/mo)",
                    "type": "number"
                  },
                  "nhis_premium": {
                    "description": "Nigeria: NHIS employee premium if a scheme deducts one",
                    "type": "number"
                  },
                  "pensionable_pay": {
                    "description": "Kenya: pensionable pay for NSSF tiers (default = gross capped at UEL)",
                    "type": "number"
                  },
                  "period": {
                    "description": "Period the gross covers (default month)",
                    "enum": [
                      "month",
                      "year"
                    ],
                    "type": "string"
                  },
                  "receipt": {
                    "description": "Optional. true adds an Ed25519 answer receipt on a paid 200, incluedd in this price. Not a certified extract.",
                    "type": "boolean"
                  },
                  "sector": {
                    "description": "Nigeria: public applies NHF 2.5%; private (default) sets NHF 0",
                    "enum": [
                      "public",
                      "private"
                    ],
                    "type": "string"
                  },
                  "transport": {
                    "description": "Nigeria: transport allowance",
                    "type": "number"
                  }
                },
                "required": [
                  "country",
                  "gross"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "assumptions": {
                    "description": "Disclosed assumptions (e.g. Nigeria 40/30/10 pay split, sector default)",
                    "type": "array"
                  },
                  "gross_pay": {
                    "type": "number"
                  },
                  "income_tax": {
                    "description": "PAYE payable",
                    "type": "number"
                  },
                  "net_pay": {
                    "description": "Net take-home pay",
                    "type": "number"
                  },
                  "provenance": {
                    "description": "Bracket instrument + contribution-law citations",
                    "type": "object"
                  },
                  "receipt": {
                    "description": "Only when receipt=true on a paid 200. kind answer_receipt. Verify at /certified/public-key.",
                    "type": "object"
                  },
                  "scope_note": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "statutory_deductions": {
                    "description": "Employee social-security contributions withheld",
                    "type": "object"
                  },
                  "tax_breakdown": {
                    "description": "Per-bracket workings",
                    "type": "array"
                  },
                  "taxable_income": {
                    "type": "number"
                  }
                },
                "required": [
                  "status",
                  "net_pay",
                  "income_tax",
                  "statutory_deductions"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "payroll",
    "paye",
    "nigeria",
    "kenya",
    "bazaar"
  ],
  "sourceHost": "afriref.dev",
  "lastUpdated": "2026-10-08T11:37:41.827Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-08T11:38:13.502Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "country": "ke",
              "gross": 500000,
              "period": "month"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "annual_rent": {
                      "description": "Nigeria: annual rent paid (unlocks rent relief, capped ₦500,000)",
                      "type": "number"
                    },
                    "basic": {
                      "description": "Nigeria: basic pay (for exact pension/NHF base; else a 40/30/10 split is assumed and disclosed)",
                      "type": "number"
                    },
                    "country": {
                      "description": "ISO country code (payroll supported: Nigeria, Kenya)",
                      "enum": [
                        "ke",
                        "ng"
                      ],
                      "type": "string"
                    },
                    "gross": {
                      "description": "Gross pay in local currency",
                      "type": "number"
                    },
                    "housing": {
                      "description": "Nigeria: housing allowance",
                      "type": "number"
                    },
                    "insurance_premium": {
                      "description": "Kenya: insurance premium (15% relief, capped KES 5,000/mo)",
                      "type": "number"
                    },
                    "nhis_premium": {
                      "description": "Nigeria: NHIS employee premium if a scheme deducts one",
                      "type": "number"
                    },
                    "pensionable_pay": {
                      "description": "Kenya: pensionable pay for NSSF tiers (default = gross capped at UEL)",
                      "type": "number"
                    },
                    "period": {
                      "description": "Period the gross covers (default month)",
                      "enum": [
                        "month",
                        "year"
                      ],
                      "type": "string"
                    },
                    "receipt": {
                      "description": "Optional. true adds an Ed25519 answer receipt on a paid 200, incluedd in this price. Not a certified extract.",
                      "type": "boolean"
                    },
                    "sector": {
                      "description": "Nigeria: public applies NHF 2.5%; private (default) sets NHF 0",
                      "enum": [
                        "public",
                        "private"
                      ],
                      "type": "string"
                    },
                    "transport": {
                      "description": "Nigeria: transport allowance",
                      "type": "number"
                    }
                  },
                  "required": [
                    "country",
                    "gross"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "assumptions": {
                      "description": "Disclosed assumptions (e.g. Nigeria 40/30/10 pay split, sector default)",
                      "type": "array"
                    },
                    "gross_pay": {
                      "type": "number"
                    },
                    "income_tax": {
                      "description": "PAYE payable",
                      "type": "number"
                    },
                    "net_pay": {
                      "description": "Net take-home pay",
                      "type": "number"
                    },
                    "provenance": {
                      "description": "Bracket instrument + contribution-law citations",
                      "type": "object"
                    },
                    "receipt": {
                      "description": "Only when receipt=true on a paid 200. kind answer_receipt. Verify at /certified/public-key.",
                      "type": "object"
                    },
                    "scope_note": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "statutory_deductions": {
                      "description": "Employee social-security contributions withheld",
                      "type": "object"
                    },
                    "tax_breakdown": {
                      "description": "Per-bracket workings",
                      "type": "array"
                    },
                    "taxable_income": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "status",
                    "net_pay",
                    "income_tax",
                    "statutory_deductions"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "afriref.dev",
    "manifest_name": "afriref.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "assumptions": [
        "value"
      ],
      "gross_pay": 0,
      "income_tax": 0,
      "net_pay": 0,
      "provenance": {},
      "receipt": {},
      "scope_note": "string",
      "status": "string",
      "statutory_deductions": {},
      "tax_breakdown": [
        "value"
      ],
      "taxable_income": 0
    },
    "type": "string"
  }
}