API reference · v2026-11-01

Conduit API

Base URL http://localhost:8000/api/v1. Authenticate with Authorization: Bearer <key>. Every list is cursor-paginated (limit, starting_after) and accepts created[gte], updated[gte] and timeframe. This page is generated from the same registry that routes requests, so it is always exact. New here? Start with the integration guide.

Account & keys

GET/healthLiveness & version
No auth

Example

curl http://localhost:8000/api/v1/health
GET/openapi.jsonOpenAPI 3.1 spec (generated)
No auth

Example

curl http://localhost:8000/api/v1/openapi.json
GET/postman.jsonPostman collection (generated)
No auth

Example

curl http://localhost:8000/api/v1/postman.json
GET/scopesAll scopes and what they grant
No auth

Example

curl http://localhost:8000/api/v1/scopes
GET/meWho am I — key, account, websites, scopes
any server key

Use on boot to discover what a key can do: its scopes, its website (or all websites for organisation keys), mode, plan features and the API version.

Example

curl http://localhost:8000/api/v1/me \
  -H "Authorization: Bearer sk_test_…"

Checkout sessions

POST/checkout/sessionsCreate a checkout session
sessions:write Idempotency-Key

Returns a hosted url (redirect) — or pass the id to Conduit.pay({session}) in the browser for the in-page modal. Use Idempotency-Key for safe retries.

Query parameters

sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.

Body

amountnumberAmount in major units (e.g. 50.00). Omit to let the customer choose within limits.
currencystringISO code; defaults to the website currency
external_idstringYOUR order/invoice id. Unique per website: a second call returns the same open checkout; a paid one returns 409 external_id_already_paid.
customerobject{reference, email, phone, name} — reference = your user id
referralstringReferral code. Its partner is credited (and remembered on the customer).
attributionobject{partner, staff:[{reference, name, share, kind}], campaign, source, medium, utm{}} — credit several people on one payment
line_itemsarray[{name, quantity, unit_amount, sku}] — amount is computed when omitted
tagsarrayUp to 20 short labels, filterable
metadataobjectAnything (≤ 4 KB); echoed in webhooks
descriptionstring
return_urlstring
cancel_urlstring
channelsarrayRestrict to channel codes
expires_inintegerSeconds (300 – 604800)

Example

curl http://localhost:8000/api/v1/checkout/sessions \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 150,
    "external_id": "order_1042",
    "customer": {
      "reference": "user_88",
      "phone": "0241234567"
    },
    "referral": "KOFI10",
    "attribution": {
      "staff": [
        {
          "reference": "agent_7",
          "share": 60
        },
        {
          "reference": "agent_9",
          "share": 40
        }
      ]
    },
    "metadata": {
      "cart": "c_77"
    }
  }'
GET/checkout/sessionsList checkout sessions
sessions:read

Query parameters

limitinteger1–100, default 25
starting_afterstringCursor: object id from the previous page's last item (next_cursor)
ending_beforestringCursor for the previous page
created[gte]timestampISO-8601 or unix seconds
created[lte]timestamp
updated[gte]timestampIncremental sync: everything changed since
sortstringcreated (default) or updated (created, updated)
include_totalbooleanAdd total count (slower)
timeframestringtoday, yesterday, 3d, 7d, 14d, 30d, 90d, this_month, last_month, this_year, 1y, all, custom
fromtimestampWith timeframe=custom
totimestampWith timeframe=custom
sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.
statusstring (open, processing, completed, expired)
customer_referencestring
external_idstring

Example

curl http://localhost:8000/api/v1/checkout/sessions \
  -H "Authorization: Bearer sk_test_…"
GET/checkout/sessions/{id}Retrieve a session (by id or your external_id)
sessions:read

Example

curl http://localhost:8000/api/v1/checkout/sessions/pay_… \
  -H "Authorization: Bearer sk_test_…"
POST/checkout/sessions/{id}/expireExpire an unpaid session now
sessions:write Idempotency-Key

Example

curl -X POST http://localhost:8000/api/v1/checkout/sessions/pay_…/expire \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"

Payments

GET/paymentsList & search payments
payments:read

Everything your admin panel needs: filter by status, channel, customer, partner, staff, tag, timeframe. include_summary=1 adds totals for the filtered set. For incremental sync use sort=updated&updated[gte]=<last sync>.

Query parameters

limitinteger1–100, default 25
starting_afterstringCursor: object id from the previous page's last item (next_cursor)
ending_beforestringCursor for the previous page
created[gte]timestampISO-8601 or unix seconds
created[lte]timestamp
updated[gte]timestampIncremental sync: everything changed since
sortstringcreated (default) or updated (created, updated)
include_totalbooleanAdd total count (slower)
timeframestringtoday, yesterday, 3d, 7d, 14d, 30d, 90d, this_month, last_month, this_year, 1y, all, custom
fromtimestampWith timeframe=custom
totimestampWith timeframe=custom
sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.
statusstringsucceeded, failed, open, pending, action_required, expired, initiated
channelstring
referralstringReferral code
customerstringcus_… or your customer reference
partnerstringptn_… or partner reference — payments credited to them
staffstringStaff reference present in attribution.staff
external_idstring
tagstring
refund_statusstring (none, partial, full)
qstringSearch reference / phone / email / id
minnumber
maxnumber
include_summaryboolean
expand[]stringcustomer, partner, commissions, refunds, events, session

Example

curl http://localhost:8000/api/v1/payments \
  -H "Authorization: Bearer sk_test_…"
GET/payments/{id}Retrieve a payment (id, reference or external_id)
payments:read

Query parameters

expand[]stringcustomer, partner, commissions, refunds, events, session

Example

curl http://localhost:8000/api/v1/payments/pay_… \
  -H "Authorization: Bearer sk_test_…"
POST/payments/{id}Update a payment
payments:write

Body

metadataobjectMerged; a null value deletes a key
tagsarrayReplaces tags
attributionobjectOnly before the payment succeeds — afterwards use /attribution

Example

curl http://localhost:8000/api/v1/payments/pay_… \
  -H "Authorization: Bearer sk_test_…" \
  -H "Content-Type: application/json" \
  -d '{
    "metadata": {
      "fulfilled": true
    },
    "tags": [
      "vip",
      "promo-nov"
    ]
  }'
POST/payments/{id}/attributionCredit a settled payment after the fact
commissions:write needs page.partnersIdempotency-Key

For when the agent/partner was entered late. Runs the commission engine for this payment. Refused while live commissions exist — void them first.

Body

partnerstringptn_… or partner reference
staffarray[{reference, share}]
stickybooleanAlso set as the customer's lifetime referrer (default true)

Example

curl -X POST http://localhost:8000/api/v1/payments/pay_…/attribution \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"
POST/payments/{id}/verifyRe-check status with the processor now
payments:write

Example

curl -X POST http://localhost:8000/api/v1/payments/pay_…/verify \
  -H "Authorization: Bearer sk_test_…"
GET/payments/{id}/eventsPayment timeline (every status change, note and check)
payments:read

Example

curl http://localhost:8000/api/v1/payments/pay_…/events \
  -H "Authorization: Bearer sk_test_…"
POST/payments/{id}/notesAdd an internal note (staff collaboration)
payments:write Idempotency-Key

Notes land on the payment timeline, visible to every staff member in the console and API.

Body

note *string
authorstringWho wrote it (your staff user)

Example

curl -X POST http://localhost:8000/api/v1/payments/pay_…/notes \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"

Refunds

POST/payments/{id}/refundsRefund a payment (full or partial)
refunds:write needs feature.refundsIdempotency-Key

Paystack refunds go through the API; bridge payments become requires_action (finish manually, then confirm). Commissions are clawed back proportionally.

Body

amountnumberDefaults to the full refundable amount
reasonstring (requested_by_customer, duplicate, fraudulent, service_not_provided, other)
notestring
metadataobject

Example

curl http://localhost:8000/api/v1/payments/pay_…/refunds \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 20,
    "reason": "duplicate"
  }'
POST/refundsCreate a refund
refunds:write needs feature.refundsIdempotency-Key

Body

payment *stringPayment id/reference
amountnumberDefaults to the full refundable amount
reasonstring (requested_by_customer, duplicate, fraudulent, service_not_provided, other)
notestring
metadataobject

Example

curl -X POST http://localhost:8000/api/v1/refunds \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"
GET/refundsList refunds
refunds:read

Query parameters

limitinteger1–100, default 25
starting_afterstringCursor: object id from the previous page's last item (next_cursor)
ending_beforestringCursor for the previous page
created[gte]timestampISO-8601 or unix seconds
created[lte]timestamp
updated[gte]timestampIncremental sync: everything changed since
sortstringcreated (default) or updated (created, updated)
include_totalbooleanAdd total count (slower)
timeframestringtoday, yesterday, 3d, 7d, 14d, 30d, 90d, this_month, last_month, this_year, 1y, all, custom
fromtimestampWith timeframe=custom
totimestampWith timeframe=custom
sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.
statusstring
paymentstring

Example

curl http://localhost:8000/api/v1/refunds \
  -H "Authorization: Bearer sk_test_…"
GET/payments/{id}/refundsRefunds of a payment
refunds:read

Example

curl http://localhost:8000/api/v1/payments/pay_…/refunds \
  -H "Authorization: Bearer sk_test_…"
GET/refunds/{id}Retrieve a refund
refunds:read

Example

curl http://localhost:8000/api/v1/refunds/pay_… \
  -H "Authorization: Bearer sk_test_…"
POST/refunds/{id}/confirmConfirm a manual refund was sent
refunds:write needs feature.refundsIdempotency-Key

Body

gateway_referencestring
notestring

Example

curl -X POST http://localhost:8000/api/v1/refunds/pay_…/confirm \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"
POST/refunds/{id}/cancelCancel a pending refund
refunds:write Idempotency-Key

Example

curl -X POST http://localhost:8000/api/v1/refunds/pay_…/cancel \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"

Customers

POST/customersCreate (or upsert) a customer
customers:write needs page.customersIdempotency-Key

Upsert by reference: an existing customer with that reference is updated and returned (200), otherwise created (201). Set partner to pre-register who referred them.

Query parameters

sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.

Body

referencestringYour user id — the stable key
namestring
emailstring
phonestring
partnerstringLifetime referrer (ptn_… or reference)
tagsarray
metadataobject

Example

curl http://localhost:8000/api/v1/customers \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "reference": "user_88",
    "name": "Ama Mensah",
    "phone": "0241234567",
    "partner": "user_kofi"
  }'
GET/customersList & search customers
customers:read needs page.customers

Query parameters

limitinteger1–100, default 25
starting_afterstringCursor: object id from the previous page's last item (next_cursor)
ending_beforestringCursor for the previous page
created[gte]timestampISO-8601 or unix seconds
created[lte]timestamp
updated[gte]timestampIncremental sync: everything changed since
sortstringcreated (default) or updated (created, updated)
include_totalbooleanAdd total count (slower)
timeframestringtoday, yesterday, 3d, 7d, 14d, 30d, 90d, this_month, last_month, this_year, 1y, all, custom
fromtimestampWith timeframe=custom
totimestampWith timeframe=custom
sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.
qstringname / email / phone / reference
partnerstring
blockedboolean
tagstring
min_ltvnumber
has_paidboolean

Example

curl http://localhost:8000/api/v1/customers \
  -H "Authorization: Bearer sk_test_…"
GET/customers/{id}Retrieve a customer (cus_… or your reference)
customers:read needs page.customers

Example

curl http://localhost:8000/api/v1/customers/pay_… \
  -H "Authorization: Bearer sk_test_…"
POST/customers/{id}Update a customer
customers:write needs page.customers

Body

namestring
emailstring
phonestring
partnerstringLifetime referrer (ptn_… or reference)
tagsarray
metadataobject

Example

curl -X POST http://localhost:8000/api/v1/customers/pay_… \
  -H "Authorization: Bearer sk_test_…"
DELETE/customers/{id}Delete a customer with no payments
customers:write needs page.customers

Example

curl -X DELETE http://localhost:8000/api/v1/customers/pay_… \
  -H "Authorization: Bearer sk_test_…"
POST/customers/{id}/blockBlock a customer from paying
customers:write needs page.customersIdempotency-Key

Blocked customers get a 403 customer_blocked at checkout on every website.

Body

reasonstring

Example

curl -X POST http://localhost:8000/api/v1/customers/pay_…/block \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"
POST/customers/{id}/unblockUnblock a customer
customers:write needs page.customersIdempotency-Key

Example

curl -X POST http://localhost:8000/api/v1/customers/pay_…/unblock \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"
GET/customers/{id}/paymentsA customer's payments
payments:read needs page.customers

Query parameters

limitinteger1–100, default 25
starting_afterstringCursor: object id from the previous page's last item (next_cursor)
ending_beforestringCursor for the previous page
created[gte]timestampISO-8601 or unix seconds
created[lte]timestamp
updated[gte]timestampIncremental sync: everything changed since
sortstringcreated (default) or updated (created, updated)
include_totalbooleanAdd total count (slower)

Example

curl http://localhost:8000/api/v1/customers/pay_…/payments \
  -H "Authorization: Bearer sk_test_…"

Partners

POST/partnersCreate (or upsert) a partner
partners:write needs page.partnersIdempotency-Key

Partners are anyone who earns from payments: affiliates, agents, staff, influencers, resellers. Upserts by reference. Pass code to issue their referral code in the same call.

Query parameters

sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.

Body

referencestringTheir user id on your platform
name *string
kindstring (affiliate, agent, staff, influencer, reseller)
emailstring
phonestring
parentstringUpline partner (multi-level)
rulestringOverride commission rule (cr_…)
statusstring (active, suspended)
payout_detailsobject
metadataobject
codestringAlso create this referral code (needs `site` with org keys)

Example

curl http://localhost:8000/api/v1/partners \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "reference": "user_kofi",
    "name": "Kofi Boateng",
    "kind": "agent",
    "parent": "user_ama",
    "code": "KOFI10"
  }'
GET/partnersList partners
partners:read needs page.partners

Query parameters

limitinteger1–100, default 25
starting_afterstringCursor: object id from the previous page's last item (next_cursor)
ending_beforestringCursor for the previous page
created[gte]timestampISO-8601 or unix seconds
created[lte]timestamp
updated[gte]timestampIncremental sync: everything changed since
sortstringcreated (default) or updated (created, updated)
include_totalbooleanAdd total count (slower)
kindstring (affiliate, agent, staff, influencer, reseller)
statusstring
parentstring
qstring
with_balanceboolean

Example

curl http://localhost:8000/api/v1/partners \
  -H "Authorization: Bearer sk_test_…"
GET/partners/{id}Retrieve a partner with balance
partners:read needs page.partners

Example

curl http://localhost:8000/api/v1/partners/pay_… \
  -H "Authorization: Bearer sk_test_…"
POST/partners/{id}Update a partner
partners:write needs page.partners

Body

name *string
kindstring (affiliate, agent, staff, influencer, reseller)
emailstring
phonestring
parentstringUpline partner (multi-level)
rulestringOverride commission rule (cr_…)
statusstring (active, suspended)
payout_detailsobject
metadataobject

Example

curl -X POST http://localhost:8000/api/v1/partners/pay_… \
  -H "Authorization: Bearer sk_test_…"
GET/partners/{id}/balancePending / available / paid commission balance
commissions:read needs page.partners

Example

curl http://localhost:8000/api/v1/partners/pay_…/balance \
  -H "Authorization: Bearer sk_test_…"
GET/partners/{id}/downlinePartner tree below this partner
partners:read needs page.partners

Query parameters

depthinteger1–5, default 3

Example

curl http://localhost:8000/api/v1/partners/pay_…/downline \
  -H "Authorization: Bearer sk_test_…"
GET/partners/{id}/statsReferred volume, customers and earnings
partners:read needs page.partners

Query parameters

timeframestringtoday, yesterday, 3d, 7d, 14d, 30d, 90d, this_month, last_month, this_year, 1y, all, custom
fromtimestampWith timeframe=custom
totimestampWith timeframe=custom

Example

curl http://localhost:8000/api/v1/partners/pay_…/stats \
  -H "Authorization: Bearer sk_test_…"
POST/partners/{id}/codesIssue a referral code for this partner
referrals:write needs page.partnersIdempotency-Key

Query parameters

sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.

Body

code *string
min_amountnumber
labelstring

Example

curl -X POST http://localhost:8000/api/v1/partners/pay_…/codes \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"

Commissions

POST/partners/{id}/payoutsPay a partner's available commissions
commissions:write needs page.partnersIdempotency-Key

Records that YOU paid the partner (bank, MoMo, wallet credit on your platform). Marks the lines paid and emits commission.paid.

Body

commissionsarraySpecific com_ ids; default all available
referencestring
methodstring
notestring

Example

curl -X POST http://localhost:8000/api/v1/partners/pay_…/payouts \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"
POST/commission_rulesCreate a commission rule
commissions:write needs page.partnersIdempotency-Key

Body

name *string
applies_tostring (referrer, staff, both)
levelsarrayPercent per level: [10, 3, 1] = direct 10%, upline 3%, 1%
flatnumberFlat bonus to level 1
triggerstring (every, first, first_n)
first_ninteger
attributionstring (sticky, payment)
basisstring (net, gross)
min_paymentnumber
capnumberMax per line
hold_daysinteger
sitestringOnly this website
channelsarray
activeboolean
is_defaultboolean

Example

curl http://localhost:8000/api/v1/commission_rules \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Agents 3-tier",
    "levels": [
      10,
      3,
      1
    ],
    "trigger": "every",
    "hold_days": 7,
    "is_default": true
  }'
GET/commission_rulesList commission rules
commissions:read needs page.partners

Example

curl http://localhost:8000/api/v1/commission_rules \
  -H "Authorization: Bearer sk_test_…"
GET/commission_rules/{id}Retrieve a rule
commissions:read needs page.partners

Example

curl http://localhost:8000/api/v1/commission_rules/pay_… \
  -H "Authorization: Bearer sk_test_…"
POST/commission_rules/{id}Update a rule (applies to future payments)
commissions:write needs page.partners

Body

name *string
applies_tostring (referrer, staff, both)
levelsarrayPercent per level: [10, 3, 1] = direct 10%, upline 3%, 1%
flatnumberFlat bonus to level 1
triggerstring (every, first, first_n)
first_ninteger
attributionstring (sticky, payment)
basisstring (net, gross)
min_paymentnumber
capnumberMax per line
hold_daysinteger
sitestringOnly this website
channelsarray
activeboolean
is_defaultboolean

Example

curl -X POST http://localhost:8000/api/v1/commission_rules/pay_… \
  -H "Authorization: Bearer sk_test_…"
DELETE/commission_rules/{id}Delete a rule (ledger lines keep their history)
commissions:write needs page.partners

Example

curl -X DELETE http://localhost:8000/api/v1/commission_rules/pay_… \
  -H "Authorization: Bearer sk_test_…"
POST/commissions/simulateDry-run: who would earn what
commissions:read needs page.partners

Show partners their earnings before they sell, or test a rule change. Nothing is written.

Query parameters

sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.

Body

amount *number
netnumber
partnerstringReferrer ptn_… / reference / referral code
staffarray
prior_paymentsintegerCustomer's earlier successful payments (for first/first_n)
channelstring

Example

curl http://localhost:8000/api/v1/commissions/simulate \
  -H "Authorization: Bearer sk_test_…" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 200,
    "partner": "user_kofi",
    "staff": [
      {
        "reference": "agent_7",
        "share": 50
      },
      {
        "reference": "agent_9",
        "share": 50
      }
    ]
  }'
GET/commissionsCommission ledger
commissions:read needs page.partners

Query parameters

limitinteger1–100, default 25
starting_afterstringCursor: object id from the previous page's last item (next_cursor)
ending_beforestringCursor for the previous page
created[gte]timestampISO-8601 or unix seconds
created[lte]timestamp
updated[gte]timestampIncremental sync: everything changed since
sortstringcreated (default) or updated (created, updated)
include_totalbooleanAdd total count (slower)
timeframestringtoday, yesterday, 3d, 7d, 14d, 30d, 90d, this_month, last_month, this_year, 1y, all, custom
fromtimestampWith timeframe=custom
totimestampWith timeframe=custom
partnerstring
statusstring (pending, available, paid, reversed, void)
rolestring (referrer, staff, adjustment)
paymentstring
customerstring
include_summaryboolean

Example

curl http://localhost:8000/api/v1/commissions \
  -H "Authorization: Bearer sk_test_…"
GET/commissions/{id}Retrieve a commission line
commissions:read needs page.partners

Example

curl http://localhost:8000/api/v1/commissions/pay_… \
  -H "Authorization: Bearer sk_test_…"
POST/commissionsManual adjustment (bonus or deduction)
commissions:write needs page.partnersIdempotency-Key

Body

partner *string
amount *numberNegative for a deduction
reason *string
paymentstringOptional related payment
statusstring (available, pending)

Example

curl http://localhost:8000/api/v1/commissions \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "partner": "user_kofi",
    "amount": 50,
    "reason": "November target bonus"
  }'
POST/commissions/{id}/approveRelease a held (pending) line now
commissions:write needs page.partnersIdempotency-Key

Example

curl -X POST http://localhost:8000/api/v1/commissions/pay_…/approve \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"
POST/commissions/{id}/voidVoid an unpaid line
commissions:write needs page.partnersIdempotency-Key

Body

reasonstring

Example

curl -X POST http://localhost:8000/api/v1/commissions/pay_…/void \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"
GET/commission_payoutsPartner payouts
commissions:read needs page.partners

Query parameters

limitinteger1–100, default 25
starting_afterstringCursor: object id from the previous page's last item (next_cursor)
ending_beforestringCursor for the previous page
created[gte]timestampISO-8601 or unix seconds
created[lte]timestamp
updated[gte]timestampIncremental sync: everything changed since
sortstringcreated (default) or updated (created, updated)
include_totalbooleanAdd total count (slower)
timeframestringtoday, yesterday, 3d, 7d, 14d, 30d, 90d, this_month, last_month, this_year, 1y, all, custom
fromtimestampWith timeframe=custom
totimestampWith timeframe=custom
partnerstring

Example

curl http://localhost:8000/api/v1/commission_payouts \
  -H "Authorization: Bearer sk_test_…"
GET/commission_payouts/{id}Retrieve a partner payout with its lines
commissions:read needs page.partners

Example

curl http://localhost:8000/api/v1/commission_payouts/pay_… \
  -H "Authorization: Bearer sk_test_…"

Referral codes

POST/referralsCreate a referral code
referrals:write needs page.referralsIdempotency-Key

Query parameters

sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.

Body

code *string
labelstring
ownerstring
partnerstringptn_… or partner reference — who gets credited
min_amountnumberMinimum deposit with this code
max_amountnumber
activeboolean
expires_attimestamp

Example

curl http://localhost:8000/api/v1/referrals \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "KOFI10",
    "partner": "user_kofi",
    "min_amount": 20
  }'
GET/referralsList referral codes
referrals:read needs page.referrals

Query parameters

limitinteger1–100, default 25
starting_afterstringCursor: object id from the previous page's last item (next_cursor)
ending_beforestringCursor for the previous page
created[gte]timestampISO-8601 or unix seconds
created[lte]timestamp
updated[gte]timestampIncremental sync: everything changed since
sortstringcreated (default) or updated (created, updated)
include_totalbooleanAdd total count (slower)
sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.
partnerstring
activeboolean

Example

curl http://localhost:8000/api/v1/referrals \
  -H "Authorization: Bearer sk_test_…"
GET/referrals/{code}Retrieve a referral code
referrals:read needs page.referrals

Query parameters

sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.

Example

curl http://localhost:8000/api/v1/referrals/KOFI10 \
  -H "Authorization: Bearer sk_test_…"
POST/referrals/{code}Update a referral code
referrals:write needs page.referrals

Query parameters

sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.

Body

labelstring
ownerstring
partnerstringptn_… or partner reference — who gets credited
min_amountnumberMinimum deposit with this code
max_amountnumber
activeboolean
expires_attimestamp

Example

curl -X POST http://localhost:8000/api/v1/referrals/KOFI10 \
  -H "Authorization: Bearer sk_test_…"

Websites

GET/siteThis key's website (site keys)
sites:read

Query parameters

sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.

Example

curl http://localhost:8000/api/v1/site \
  -H "Authorization: Bearer sk_test_…"
GET/sitesList websites
sites:read

Example

curl http://localhost:8000/api/v1/sites \
  -H "Authorization: Bearer sk_test_…"
GET/sites/{id}Retrieve a website
sites:read

Example

curl http://localhost:8000/api/v1/sites/pay_… \
  -H "Authorization: Bearer sk_test_…"
POST/sites/{id}Pause / resume a website, tune limits
sites:write

Pause from your own admin (e.g. during maintenance). The customer sees your paused message.

Body

statusstring (active, paused)
paused_reasonstring
min_amountnumber
max_amountnumber
quick_amountsarray

Example

curl http://localhost:8000/api/v1/sites/pay_… \
  -H "Authorization: Bearer sk_test_…" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "paused",
    "paused_reason": "Maintenance until 14:00"
  }'

Webhooks

POST/webhook_endpointsCreate a webhook endpoint
webhooks:write needs feature.webhooksIdempotency-Key

The signing secret (whsec_…) is returned ONCE in this response.

Body

url *string
eventsarrayTypes or wildcards like payment.*; empty = all
sitestringOmit with an organisation key for an organisation-wide endpoint
descriptionstring

Example

curl http://localhost:8000/api/v1/webhook_endpoints \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://admin.example.com/hooks/conduit",
    "events": [
      "payment.*",
      "commission.*"
    ]
  }'
GET/webhook_endpointsList webhook endpoints
webhooks:read

Example

curl http://localhost:8000/api/v1/webhook_endpoints \
  -H "Authorization: Bearer sk_test_…"
GET/webhook_endpoints/{id}Retrieve an endpoint
webhooks:read

Example

curl http://localhost:8000/api/v1/webhook_endpoints/pay_… \
  -H "Authorization: Bearer sk_test_…"
POST/webhook_endpoints/{id}Update an endpoint
webhooks:write

Body

urlstring
eventsarray
descriptionstring
activeboolean

Example

curl -X POST http://localhost:8000/api/v1/webhook_endpoints/pay_… \
  -H "Authorization: Bearer sk_test_…"
DELETE/webhook_endpoints/{id}Delete an endpoint
webhooks:write

Example

curl -X DELETE http://localhost:8000/api/v1/webhook_endpoints/pay_… \
  -H "Authorization: Bearer sk_test_…"
POST/webhook_endpoints/{id}/roll_secretRotate the signing secret (returned once)
webhooks:write Idempotency-Key

Example

curl -X POST http://localhost:8000/api/v1/webhook_endpoints/pay_…/roll_secret \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"
POST/webhook_endpoints/{id}/testSend a sample event to this endpoint now
webhooks:write Idempotency-Key

Delivers a realistic sample (marked "test": true) synchronously and returns the result.

Body

typestring (conduit.ping, payment.succeeded, payment.failed, refund.succeeded, commission.created, customer.created)

Example

curl -X POST http://localhost:8000/api/v1/webhook_endpoints/pay_…/test \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"
POST/webhooks/testPing every active endpoint
webhooks:write Idempotency-Key

Example

curl -X POST http://localhost:8000/api/v1/webhooks/test \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"
GET/webhook_deliveriesDelivery log
webhooks:read

Query parameters

limitinteger1–100, default 25
starting_afterstringCursor: object id from the previous page's last item (next_cursor)
ending_beforestringCursor for the previous page
created[gte]timestampISO-8601 or unix seconds
created[lte]timestamp
updated[gte]timestampIncremental sync: everything changed since
sortstringcreated (default) or updated (created, updated)
include_totalbooleanAdd total count (slower)
timeframestringtoday, yesterday, 3d, 7d, 14d, 30d, 90d, this_month, last_month, this_year, 1y, all, custom
fromtimestampWith timeframe=custom
totimestampWith timeframe=custom
endpointstring
statusstring
eventstring
typestring

Example

curl http://localhost:8000/api/v1/webhook_deliveries \
  -H "Authorization: Bearer sk_test_…"
GET/webhook_deliveries/{id}A delivery with payload and response
webhooks:read

Example

curl http://localhost:8000/api/v1/webhook_deliveries/pay_… \
  -H "Authorization: Bearer sk_test_…"
POST/webhook_deliveries/{id}/retryRetry a delivery now
webhooks:write Idempotency-Key

Example

curl -X POST http://localhost:8000/api/v1/webhook_deliveries/pay_…/retry \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"

Events

GET/eventsEvent log (catch up on missed webhooks)
events:read

Every event is stored for 30+ days whether or not you have endpoints. Poll with created[gt]=<last seen> to never miss a state change.

Query parameters

limitinteger1–100, default 25
starting_afterstringCursor: object id from the previous page's last item (next_cursor)
ending_beforestringCursor for the previous page
created[gte]timestampISO-8601 or unix seconds
created[lte]timestamp
updated[gte]timestampIncremental sync: everything changed since
sortstringcreated (default) or updated (created, updated)
include_totalbooleanAdd total count (slower)
sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.
typestringExact type or wildcard: payment.*
types[]stringSeveral types
objectstringObject id, e.g. pay_…

Example

curl http://localhost:8000/api/v1/events \
  -H "Authorization: Bearer sk_test_…"
GET/events/{id}Retrieve an event
events:read

Example

curl http://localhost:8000/api/v1/events/pay_… \
  -H "Authorization: Bearer sk_test_…"
POST/events/{id}/redeliverRe-send an event to your endpoints
webhooks:write Idempotency-Key

Body

endpointstringOnly this endpoint

Example

curl -X POST http://localhost:8000/api/v1/events/pay_…/redeliver \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"

Balance & payouts

GET/balanceWhat the platform owes you (platform-collected payments)
balance:read

Only payments collected through the platform's gateways are settled by payroll. Payments on your own Paystack keys settle directly to you and are not included.

Example

curl http://localhost:8000/api/v1/balance \
  -H "Authorization: Bearer sk_test_…"
GET/payoutsPayroll payouts to you
balance:read

Query parameters

limitinteger1–100, default 25
starting_afterstringCursor: object id from the previous page's last item (next_cursor)
ending_beforestringCursor for the previous page
created[gte]timestampISO-8601 or unix seconds
created[lte]timestamp
updated[gte]timestampIncremental sync: everything changed since
sortstringcreated (default) or updated (created, updated)
include_totalbooleanAdd total count (slower)
timeframestringtoday, yesterday, 3d, 7d, 14d, 30d, 90d, this_month, last_month, this_year, 1y, all, custom
fromtimestampWith timeframe=custom
totimestampWith timeframe=custom
statusstring

Example

curl http://localhost:8000/api/v1/payouts \
  -H "Authorization: Bearer sk_test_…"
GET/payouts/{id}A payout with its payments
balance:read

Example

curl http://localhost:8000/api/v1/payouts/pay_… \
  -H "Authorization: Bearer sk_test_…"

Reports & exports

GET/reports/summaryKPIs with period-over-period change
reports:read

Query parameters

timeframestringtoday, yesterday, 3d, 7d, 14d, 30d, 90d, this_month, last_month, this_year, 1y, all, custom
fromtimestampWith timeframe=custom
totimestampWith timeframe=custom
sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.

Example

curl http://localhost:8000/api/v1/reports/summary \
  -H "Authorization: Bearer sk_test_…"
GET/reports/timeseriesVolume & counts per bucket
reports:read

Buckets are hourly/daily/weekly/monthly depending on the range; gaps are zero-filled.

Query parameters

timeframestringtoday, yesterday, 3d, 7d, 14d, 30d, 90d, this_month, last_month, this_year, 1y, all, custom
fromtimestampWith timeframe=custom
totimestampWith timeframe=custom
sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.

Example

curl http://localhost:8000/api/v1/reports/timeseries \
  -H "Authorization: Bearer sk_test_…"
GET/reports/breakdownVolume split by a dimension
reports:read

Query parameters

timeframestringtoday, yesterday, 3d, 7d, 14d, 30d, 90d, this_month, last_month, this_year, 1y, all, custom
fromtimestampWith timeframe=custom
totimestampWith timeframe=custom
sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.
by *string (channel, site, referral, partner, network, status, via)
limitinteger

Example

curl http://localhost:8000/api/v1/reports/breakdown \
  -H "Authorization: Bearer sk_test_…"
GET/reports/funnelCheckout conversion funnel
reports:read

Query parameters

timeframestringtoday, yesterday, 3d, 7d, 14d, 30d, 90d, this_month, last_month, this_year, 1y, all, custom
fromtimestampWith timeframe=custom
totimestampWith timeframe=custom
sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.

Example

curl http://localhost:8000/api/v1/reports/funnel \
  -H "Authorization: Bearer sk_test_…"
GET/reports/partnersPartner leaderboard (volume referred & commission)
reports:read needs page.partners

Query parameters

timeframestringtoday, yesterday, 3d, 7d, 14d, 30d, 90d, this_month, last_month, this_year, 1y, all, custom
fromtimestampWith timeframe=custom
totimestampWith timeframe=custom
limitinteger
kindstring

Example

curl http://localhost:8000/api/v1/reports/partners \
  -H "Authorization: Bearer sk_test_…"
GET/reports/customersNew vs returning customers and top payers
reports:read needs page.customers

Query parameters

timeframestringtoday, yesterday, 3d, 7d, 14d, 30d, 90d, this_month, last_month, this_year, 1y, all, custom
fromtimestampWith timeframe=custom
totimestampWith timeframe=custom
limitinteger

Example

curl http://localhost:8000/api/v1/reports/customers \
  -H "Authorization: Bearer sk_test_…"
GET/exports/{resource}CSV export (payments, refunds, customers, commissions)
any server key

Up to 50,000 rows. Needs the read scope of the exported resource.

Query parameters

timeframestringtoday, yesterday, 3d, 7d, 14d, 30d, 90d, this_month, last_month, this_year, 1y, all, custom
fromtimestampWith timeframe=custom
totimestampWith timeframe=custom
sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.
statusstring

Example

curl http://localhost:8000/api/v1/exports/payments \
  -H "Authorization: Bearer sk_test_…"

Embedded dashboard

POST/embed/dashboard_sessionsMint a dashboard session for one of your staff
embed:write needs feature.embed_dashboardIdempotency-Key

Call this from YOUR server each time a staff member opens your admin page, then put the returned url in an iframe (or use Conduit.dashboard({url})). Nobody needs a Conduit account. The URL is a bearer credential — never log it or send it to anyone else.

Body

user *object{id, name, email} — your staff member (id is required)
rolestringEmbed role id (er_…) or name; default role if omitted
sitesarrayNarrow to these websites (within the role)
modestring (live, test)
expires_inintegerSeconds, 300 – policy max (default 3600)
themestring (auto, light, dark)
pagestringOpen on: payments, customers…

Example

curl http://localhost:8000/api/v1/embed/dashboard_sessions \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "user": {
      "id": "staff_42",
      "name": "Esi Owusu",
      "email": "esi@shop.example"
    },
    "role": "Support",
    "expires_in": 3600
  }'
GET/embed/dashboard_sessionsList dashboard sessions
embed:read needs feature.embed_dashboard

Query parameters

limitinteger1–100, default 25
starting_afterstringCursor: object id from the previous page's last item (next_cursor)
ending_beforestringCursor for the previous page
created[gte]timestampISO-8601 or unix seconds
created[lte]timestamp
updated[gte]timestampIncremental sync: everything changed since
sortstringcreated (default) or updated (created, updated)
include_totalbooleanAdd total count (slower)
activeboolean
userstring

Example

curl http://localhost:8000/api/v1/embed/dashboard_sessions \
  -H "Authorization: Bearer sk_test_…"
POST/embed/dashboard_sessions/{id}/revokeEnd a session now (e.g. the staff member left)
embed:write needs feature.embed_dashboardIdempotency-Key

Example

curl -X POST http://localhost:8000/api/v1/embed/dashboard_sessions/pay_…/revoke \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"
POST/embed/dashboard_sessions/revoke_userEnd every session of one staff member
embed:write needs feature.embed_dashboardIdempotency-Key

Body

user *stringYour staff member's id

Example

curl -X POST http://localhost:8000/api/v1/embed/dashboard_sessions/revoke_user \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"
GET/embed/rolesEmbed roles you defined
embed:read needs feature.embed_dashboard

Example

curl http://localhost:8000/api/v1/embed/roles \
  -H "Authorization: Bearer sk_test_…"

Test helpers

POST/test/paymentsSimulate a full payment (test mode)
payments:write Idempotency-Keytest keys only

Creates a session and drives a payment to the outcome instantly — customers, commissions and webhooks run exactly as in production. Ideal for CI.

Query parameters

sitestringWebsite id (site_…). Required with organisation keys on site-specific calls.

Body

amount *number
outcomestringDefault succeeded (succeeded, failed)
customerobject
referralstring
attributionobject
external_idstring
metadataobject
tagsarray

Example

curl http://localhost:8000/api/v1/test/payments \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 100,
    "customer": {
      "reference": "user_88"
    },
    "referral": "KOFI10",
    "attribution": {
      "staff": [
        {
          "reference": "agent_7",
          "share": 100
        }
      ]
    }
  }'
POST/test/eventsFire a sample event to your test endpoints
webhooks:write Idempotency-Keytest keys only

Body

type *string (conduit.ping, payment.succeeded, payment.failed, refund.succeeded, commission.created, customer.created)

Example

curl -X POST http://localhost:8000/api/v1/test/events \
  -H "Authorization: Bearer sk_test_…" \
  -H "Idempotency-Key: $(uuidgen)"

Browser (publishable key)

GET/public/siteWebsite config for your UI
Publishable key · browser

Example

curl http://localhost:8000/api/v1/public/site \
  -H "Authorization: Bearer pk_test_…"
POST/public/sessionsCreate a hosted session from the browser
Publishable key · browser needs feature.client_amounts

Body

amountnumberAmount in major units (e.g. 50.00). Omit to let the customer choose within limits.
currencystringISO code; defaults to the website currency
external_idstringYOUR order/invoice id. Unique per website: a second call returns the same open checkout; a paid one returns 409 external_id_already_paid.
customerobject{reference, email, phone, name} — reference = your user id
referralstringReferral code. Its partner is credited (and remembered on the customer).
attributionobject{partner, staff:[{reference, name, share, kind}], campaign, source, medium, utm{}} — credit several people on one payment
line_itemsarray[{name, quantity, unit_amount, sku}] — amount is computed when omitted
tagsarrayUp to 20 short labels, filterable
metadataobjectAnything (≤ 4 KB); echoed in webhooks
descriptionstring
return_urlstring
cancel_urlstring
channelsarrayRestrict to channel codes
expires_inintegerSeconds (300 – 604800)

Example

curl -X POST http://localhost:8000/api/v1/public/sessions \
  -H "Authorization: Bearer pk_test_…"
POST/embed/sessionsOpen the in-page modal (used by conduit.js)
Publishable key · browser needs feature.native_embed

The browser SDK calls this. An amount from the browser is a prefill the customer can change unless the website allows browser-set amounts. Staff attribution is ignored from browsers — set it server-side.

Body

amountnumberAmount in major units (e.g. 50.00). Omit to let the customer choose within limits.
currencystringISO code; defaults to the website currency
external_idstringYOUR order/invoice id. Unique per website: a second call returns the same open checkout; a paid one returns 409 external_id_already_paid.
customerobject{reference, email, phone, name} — reference = your user id
referralstringReferral code. Its partner is credited (and remembered on the customer).
attributionobject{partner, staff:[{reference, name, share, kind}], campaign, source, medium, utm{}} — credit several people on one payment
line_itemsarray[{name, quantity, unit_amount, sku}] — amount is computed when omitted
tagsarrayUp to 20 short labels, filterable
metadataobjectAnything (≤ 4 KB); echoed in webhooks
descriptionstring
return_urlstring
cancel_urlstring
channelsarrayRestrict to channel codes
expires_inintegerSeconds (300 – 604800)

Example

curl -X POST http://localhost:8000/api/v1/embed/sessions \
  -H "Authorization: Bearer pk_test_…"
GET/public/payments/{reference}Minimal payment status for the browser
Publishable key · browser

Example

curl http://localhost:8000/api/v1/public/payments/BX-… \
  -H "Authorization: Bearer pk_test_…"

Scopes

Restricted keys (rk_…) carry scopes; :write implies :read. Secret keys have every scope.

sessions:readRead checkout sessions
sessions:writeCreate & expire checkout sessions
payments:readRead payments, timelines
payments:writeUpdate payments (metadata, tags, notes), verify
refunds:readRead refunds
refunds:writeCreate, confirm, cancel refunds
customers:readRead customers
customers:writeCreate, update, block customers
partners:readRead partners, downlines, stats
partners:writeCreate & update partners, referral codes
commissions:readRead commission rules, ledger & payouts
commissions:writeManage rules; approve, reverse & pay commissions
referrals:readRead referral codes
referrals:writeCreate & update referral codes
links:readRead payment links
links:writeCreate & update payment links, sign links
sites:readRead websites & configuration
sites:writePause / resume websites, change limits
webhooks:readRead endpoints & deliveries
webhooks:writeManage endpoints, redeliver events
events:readRead the event log
reports:readAnalytics & reports
balance:readPlatform balance & payouts
embed:readList embedded-dashboard roles & sessions
embed:writeMint & revoke embedded-dashboard sessions for your staff

Errors

Body: {"error": {"type", "code", "message", "param", "doc_url"}, "request_id"}. Branch on code.

missing_api_key401No Authorization header.
invalid_api_key401Key unknown, expired after a roll, or revoked.
secret_key_required403A pk_ key was used on a server endpoint.
origin_not_allowed403Browser request from a domain not registered on this website.
ip_not_allowed403Server IP not on the website's allow-list.
account_inactive403Organisation pending, suspended or closed.
site_removed410Website was removed; its keys no longer work.
site_paused423Website is paused — show your customer the paused message.
amount_below_minimum400Below the resolved minimum (referral → site → org → platform).
amount_above_maximum400Above the resolved maximum or plan cap.
referral_not_found400Unknown referral code for this website.
referral_inactive400Referral code disabled or expired.
url_not_allowed400return_url / cancel_url not on this website's domains.
idempotency_key_reused409Same Idempotency-Key, different body.
insufficient_scope403Restricted key (rk_) without the scope this endpoint needs.
site_required400Organisation key used on a site-specific call without `site`.
feature_disabled403The feature (refunds, partners, management API…) isn't on your plan.
external_id_already_paid409This external_id (your order id) was already paid on this website.
customer_blocked403The customer is blocked from paying.
invalid_refund_amount400More than the refundable amount.
already_commissioned409Re-attribution refused: void the existing commission lines first.
test_mode_only403Test helpers need a test key.
risk_blocked403Blocked by the risk engine or blocklist — show a neutral message.
route_blocked403A routing rule blocked this payment; message is customer-safe.
channel_unavailable400Unknown channel code for this website, or not allowed on this session.
channel_not_available_here403Location targeting: this method isn't offered where the payer is (or for their phone's country).
embed_disabled403The embedded dashboard isn't enabled for your account by the platform.
role_not_found404No such embed role — create roles in Developers › Embedded dashboard.
channel_closed400Channel closed now (schedule or a scheduled pause); message is customer-safe.
rate_limited429Too many requests per minute for this key.
platform_maintenance503Platform maintenance window.
no_gateway503No gateway available (none granted, all failing).

Event types

payment.succeededMoney confirmed. Credit your customer (idempotently, by reference).
payment.failedDeclined or could not be completed. Nothing was taken.
payment.pendingWaiting for the customer to approve on their phone.
payment.action_requiredOTP / PIN / redirect needed — checkout handles it.
payment.expiredNo confirmation inside the pending window.
session.completedA checkout session was paid.
session.expiredA checkout session closed unpaid.
payment.updatedMetadata, tags or attribution changed (API or console).
payment.held / payment.releasedRisk review: money held out of payroll, then released after approval.
session.abandonedCheckout left unpaid for a while — includes recovery_url to nudge the customer.
payment.refundedA refund succeeded; amount_refunded / refund_status updated.
refund.created / refund.succeeded / refund.failedRefund lifecycle.
customer.created / customer.updatedA customer was first seen, edited, blocked or re-assigned.
partner.created / partner.updatedPartner directory changes.
commission.createdA commission line was written (referrer level or staff share).
commission.availableA held line passed its hold period — payable now.
commission.paidYou recorded a partner payout.
commission.reversedClawed back (refund) or voided.
payout.paidThe platform paid your balance (payroll).
site.paused / site.resumedYour website's payments were paused or resumed.