Skip to main content
Version: 0.0.1

Status Codes

This page provides a reference for the various transaction types & payment statuses the ZenPay API. For the full API specification including request/response schemas, see the API Reference.


Transaction Types​

Each transaction processed through ZenPay is assigned a type that identifies how it was initiated and its purpose.

CodeLabelDescription
1ChargeAny payment initiated by or on behalf of a customer
2InvoicePaymentMerchant paying their ZenPay platform bill
3RefundFunds returned to the customer for a previous transaction
4ChargebackCustomer-initiated dispute and refund through their issuing bank
5RecallZenPay-initiated reversal of a charge back to the customer
6FixedTermSettlementFunds collected from a recurring installment plan
7SponsorInvoicePaymentMerchant paying for additional customer rewards points (B2B only)
8MerchantSettlementAdjustmentPaymentManual adjustment by ZenPay Finance when a settlement date is corrected
9PreauthorisationA hold placed on the payer's card reserving funds for a set number of days
10CreditA standalone refund not tied to a specific prior transaction
info

Transaction types appear in API responses, webhook payloads, and reporting endpoints. Use the transactionTypes query parameter on GET /v2/payments to filter by one or more types.

Deprecation Notice

FixedTermSettlement (6) is a TravelPay product that we no longer offer. If your integration filters on this type, plan to remove it.

SponsorInvoicePayment (7) is being phased out and will be removed in a future release. If your integration filters on this type, plan to remove it.


Payment Status​

The current processing state of a transaction. Returned in API responses, webhooks, and callbacks. Callback and Webhook use an enum code for the paymentStatus/PaymentStatus parameter and paymentStatusDisplay/PaymentStatusDisplay for the display string . The API uses paymentStatus for the display string.

CodeWebhook/Callback DisplayAPI paymentStatus LabelDescription
-1Pending ApprovalApprovalPendingA payment with user only permissions in merchant portal is made and is pending admin approval
0PendingPendingPayment is queued and waiting to be processed
1ErrorErrorAn error occurred during processing — the error reason will be included in the response payload
2SubmittedSubmittedBatch payment has been submitted but not yet processed
3SuccessfulSuccesfulPayment has been processed successfully
3Successful(Recalled)Successful(Recalled)Payment was successful but funds have been recalled from the merchant
3Successful(Refunded)Successful(Refunded)Payment was successful but refunded to the customer before settlement
3Successful (Refunded) (Recalled)Successful (Refunded) (Recalled)Payment was successful, funds recalled from merchant and refunded to customer
4FailedFailedPayment has failed — a failure reason will be included in the response payload
5CancelledCancelledA pending payment that has been cancelled by ZenPay
6SuppressedSuppressedPayment processing has been paused, typically while a fraud investigation is underway
7InProgressInProgressPayment is currently being processed
8Received ExternallyProcessedExternalUsed when external payments from sources like PayID are received
9RejectedRejectedPortal payment made with user only permissions is rejected by admin
10Pending 3DS checkPendingPendingThreeDSPayment is pending 3DS verification from the customer
Understanding Recalled vs Refunded
  • Refunded — Funds are returned to the customer before settlement to the merchant
  • Recalled — Funds are pulled back from the merchant after settlement has occurred

These can occur together when a settled payment needs to be both recalled from the merchant and refunded to the customer.