GET
/
connect
/
{account_id}
/
payslips
curl --request GET \
  --url https://api.zingfi.co/connect/{account_id}/payslips \
  --header 'Authorization: Bearer <token>'
{
  "0": {
    "payment_status": "success",
    "type": "once",
    "payday": "2020-06-28T23:00:00.000Z",
    "currency": "NGN",
    "gross_pay": 500000,
    "amount_paid": 500000,
    "net_pay": 500000
  },
  "1": {
    "payment_status": "success",
    "type": "once",
    "payday": "2020-05-28T23:00:00.000Z",
    "currency": "NGN",
    "gross_pay": 500000,
    "amount_paid": 500000,
    "net_pay": 500000
  },
  "2": {
    "payment_status": "success",
    "type": "once",
    "payday": "2020-04-28T23:00:00.000Z",
    "currency": "NGN",
    "gross_pay": 500000,
    "amount_paid": 500000,
    "net_pay": 500000
  },
  "3": {
    "payment_status": "success",
    "type": "once",
    "payday": "2020-03-28T23:00:00.000Z",
    "currency": "NGN",
    "gross_pay": 500000,
    "amount_paid": 500000,
    "net_pay": 500000
  },
  "4": {
    "payment_status": "success",
    "type": "once",
    "payday": "2020-02-28T23:00:00.000Z",
    "currency": "NGN",
    "gross_pay": "500000.000",
    "amount_paid": 500000,
    "net_pay": 500000
  },
  "5": {
    "payment_status": "success",
    "type": "once",
    "payday": "2020-01-28T23:00:00.000Z",
    "currency": "NGN",
    "gross_pay": "500000.000",
    "amount_paid": 500000,
    "net_pay": 500000
    }

Parameters

account_id
string
required

The account_id of the user

Response Type

payment_status
string

Status of the payment

type
string

Frequency of the payment

payday
string

The date payment was made

currency
string

The currency salary was paid in

gross_pay
number

Total gross pay

amount_paid
number

The actual amount the user received on the payday

net_pay
number

Total net pay