Skip to main content

Data Dictionary

Centralized reference for all enumeration types, status values, and code tables used across the Payscribe platform.


Cards

Card status

ValueDescription
activeCard is active and usable for transactions
frozenCard is temporarily frozen. Can be unfrozen via API or dashboard.
inactiveCard is inactive (expired or manually deactivated)
terminatedCard is permanently terminated. Cannot be reactivated.

The terminate column (0/1) is the authoritative flag — when set to 1, the dashboard displays the card as terminated regardless of the status column value.

Card type

ValueDescription
virtualDigital card issued instantly, usable online
physicalPhysical plastic card shipped to an address

Card brand

ValueDescription
VISAVisa network
MASTERCARDMastercard network

Card action

ValueDescription
freezeTemporarily block the card
unfreezeReactivate a frozen card
terminatePermanently close the card

Wallet balances

BalanceDescription
available_balanceFunds ready for transfers, card funding, bills
collection_balanceUnsettled VA collections (auto-swept on schedule)
due_balanceOutstanding amount owed
facility_balanceCredit facility line (used by facility-backed purchases such as airtime-facility)

Transactions

Transaction status

ValueDescription
pendingInitial state, awaiting processing
processingBeing processed by the provider
successCompleted successfully
fail / failedFailed
approvedApproved (alternate success state)
refund / refundedRefunded
queuedQueued for processing
reviewUnder review / flagged

Payment method

ValueDescription
walletPaid from internal wallet balance
bank_transferPaid via bank transfer
stablecoinPaid with USDT/USDC
sandboxSandbox/test payment

Ref type

ValueDescription
accountsVirtual account operation
cardsCard operation
walletsWallet operation
invoicesInvoice payment
linksPayment link transaction
savingsSavings plan transaction

Settlement status

ValueDescription
pendingAwaiting settlement
processingBeing settled
successSettled successfully
failSettlement failed

Virtual accounts

Account type

ValueDescription
staticPermanent account number, reusable for unlimited payments
dynamicSingle-use account with fixed amount and expiry

Bank provider

ProviderBank nameCode
9psb9 Payment Service Bank120001
palmpayPALMPAY100033
safehavenSafehaven MFB090286
providusProvidus Bank

Settlement mode

ValueDescription
collectionFunds settle to collection balance, swept to main wallet on schedule
walletFunds credit available balance immediately

Bills

Bill categories

SlugProduct IDCategory
airtime2Airtime (NG)
data1Data bundles (NG)
electricity / power4Electricity prepaid/postpaid
tv / cable3Cable TV
betting19Betting
internet18ISP/Internet data
educationEducation ePins
gift_cardGift cards
insuranceInsurance
transfer22P2P/Wallet transfer

Airtime providers

Provider
mtn
airtel
glo
9mobile

Webhooks

Webhook status

ValueDescription
queue / queuedWaiting to be picked up by the worker
pendingAwaiting retry
sendingCurrently being delivered
successDelivered successfully
failDelivery failed (will retry if attempts remain)
deadMax retries exhausted
blacklistedDomain permanently blocked

Webhook event types

EventProductDescription
accounts.payment.statusCollectionsInbound VA payment detected
accounts.simulationCollectionsSimulate transfer executed (live test path; not emitted by the sandbox simulate-transfer endpoint)
payouts.createdTransfersTransfer initiated
bills.createdBillsBill payment request created
bills.statusBillsBill status updated
bills.updatedBillsBill delivery receipt updated
bills.batch.statusBillsBatch bill status updated
cards.auth.approvedCardsCard authorization approved
cards.auth.settledCardsAuthorization captured/settled
cards.auth.declinedCardsAuthorization declined
cards.auth.verifiedCards$1 verification auth approved
cards.auth.activationCardsContactless card activated at POS
cards.adjusted.refundCardsRefund settled
cards.adjusted.crossborderCardsCross-border transaction settled
cards.adjusted.terminatedCardsCard terminated
cards.adjusted.{status}CardsCard status changed
payment_link.paidPayment LinksPayment link paid
invoice.sentInvoicesInvoice emailed
invoice.paidInvoicesInvoice fully paid
invoice.partially_paidInvoicesPartial payment received
invoice.overdueInvoicesInvoice past due date
savings.plans.createdSavingsSavings plan created
savings.plans.pausedSavingsPlan paused/resumed/cancelled
issuing.created.successfulIssuingCard created
stablecoin.deposit.settledStablecoinDeposit settled and credited
stablecoin.card.createdStablecoinCard funded via stablecoin
stablecoin.card.topped_upStablecoinCard topped up via stablecoin

Savings

Savings plan status

ValueDescription
activePlan is actively collecting contributions
pausedContributions temporarily stopped
completedTarget reached or end date passed
cancelledPlan cancelled before completion
failedCould not collect contributions

Savings plan type

ValueDescription
targetGoal-based savings (target amount)
fixedFixed deposit (locked for a period)
spend_saveRound-up / spend-and-save

Savings frequency

Value
daily
weekly
monthly

Invoices

Invoice status

ValueDescription
draftDraft, not yet sent
sentEmailed to customer
paidFully paid
partially_paidPartial payment received
overduePast due date
voidedVoided by merchant
cancelledCancelled
pendingAwaiting payment

ValueDescription
activeLink is active and can receive payments
inactiveLink is disabled
draftSaved as draft

Businesses

Business KYC status

ValueDescription
pendingRegistration started, awaiting review
activeApproved and active
inactiveRejected or deactivated
suspendedTemporarily suspended
blacklistBlacklisted

Risk level

ValueScore rangeDescription
low0–40Low risk
medium41–70Medium risk
high71–100High risk

Onboarding step

StepStage
1Business information
2Director information
3Document upload
4Address verification
5Identity verification
6Biometric verification
7Risk assessment
8Approval

Customers

Customer KYC level

LevelRequirements
0No KYC completed
1Address proof provided (basic)
2Address + identity proof (full KYC)
3Enhanced KYC (additional verification)

Customer status

ValueDescription
activeCustomer is active
inactiveCustomer is inactive/disabled

Customer document type

ValueDescription
utility_billUtility bill (electricity, water, etc.)
bank_statementBank statement
government_correspondenceGovernment-issued correspondence

Stablecoin

Asset

ValueDescription
USDTTether (USD-pegged)
USDCUSD Coin

Network

ValueBlockchain
BEP20Binance Smart Chain
ERC20Ethereum
TRC20Tron

Stablecoin order action

ValueDescription
createCreate a new card funded via stablecoin
topupTop up an existing card via stablecoin

Stablecoin order status

ValueDescription
pendingAwaiting blockchain confirmation
processingBeing processed
fulfilledCompleted
failedFailed
expiredConfirmation window expired

Users

User status

ValueDescription
activeAccount active
inactiveAccount inactive/disabled
suspendedTemporarily suspended

Currencies

CodeType
NGNFiat — Nigerian Naira
USDFiat — US Dollar
GBPFiat — British Pound
EURFiat — Euro
USDTStablecoin — Tether
USDCStablecoin — USD Coin

API keys

StatusDescription
activeKey is active and can authenticate requests
revokedKey has been revoked
blockedKey has been blocked

Fraud

Fraud flag status

ValueDescription
openFlag raised, not yet reviewed
reviewedFlag has been reviewed
dismissedFlag dismissed as non-fraudulent
actionedAction taken based on flag

Fraud severity

ValueDescription
lowLow severity
mediumMedium severity
highHigh severity
criticalCritical severity

Remittance

Remittance status

ValueDescription
pendingAwaiting processing
pending_mlroAwaiting Money Laundering Reporting Officer review
processingBeing processed
completedCompleted successfully
failedFailed
cancelledCancelled

Referrals

Referral status

ValueDescription
activeReferral tracked, awaiting reward
rewardedReward paid

Referral milestone types

ValueScope
signupIndividual
first_topupIndividual
first_billIndividual
first_card_txnIndividual
first_transferIndividual
first_virtual_accountIndividual
first_fxIndividual
b2b_signupBusiness
b2b_kyb_completedBusiness
b2b_first_transactionBusiness
p2p_receiveIndividual

Webhook retry schedule

AttemptDelay
130 seconds
260 seconds
3120 seconds
4240 seconds
5480 seconds (8 minutes)

Max retries: 6 (configurable in dashboard) Final state after exhaustion: dead Stuck timeout: 5 minutes (webhooks stuck in sending state are reset) Alert threshold: 5 failures/hour (configurable)

Was this page helpful?

Report a docs issue →