Statuses
Each object has a status field. The tables below list every value, what it means, the status that can follow and the event TapPay sends. A dash in the Event column means no event. A dash in the Next column means the order is not listed here. Read the current status with the GET endpoint of the object. Events are listed in Events.
Invoice
status of an invoice.
| Status | Meaning | Next | Event |
|---|---|---|---|
OPEN | Waiting for payment. | — | — |
PARTIALLY_PAID | A share is paid and some amount is left. | — | invoice.partially_paid |
PAID | The full amount is paid. | None, final | invoice.paid |
EXPIRED | The invoice time ran out. | None, final | invoice.expired |
CANCELLED | The invoice was cancelled. | None, final | — |
PaymentIntent
status of a PaymentIntent. It has no events of its own, so follow the invoice and payment events.
| Status | Meaning | Next | Event |
|---|---|---|---|
OPEN | Not paid yet, and the QR code is live. | — | — |
PROCESSING | A payment on this intent is being processed. | — | — |
SUCCEEDED | The share is paid. | None, final | — |
EXPIRED | Time ran out before payment. The share returns to the invoice. | None, final | — |
CANCELLED | The intent was cancelled. | None, final | — |
Payment
status of a payment.
| Status | Meaning | Next | Event |
|---|---|---|---|
PROCESSING | The money is on its way on the payment rail. | — | payment.processing |
SUCCEEDED | The money is confirmed. Settlement follows later. | Refunds are possible | payment.succeeded |
FAILED | The payment did not go through. | None, final | payment.failed |
OVERPAID | A second payer paid a QR code that was already paid. TapPay refunds it automatically. | None, final | payment.overpaid |
AUTHORIZED | The amount is on hold on the card. It is not yet in your balance. | SUCCEEDED after finalize | payment.authorized, payment.finalized |
CANCELLED | The payment was cancelled. | None, final | — |
Refund
status of a refund.
| Status | Meaning | Next | Event |
|---|---|---|---|
PENDING | The refund is created and not sent yet. | — | — |
PROCESSING | The refund is on its way on the payment rail. | — | — |
AWAITING_FOREIGN | The money reached the acquiring bank of a foreign wallet such as WeChat Pay. The bank refunds the payer through that wallet. | SUCCEEDED, FAILED or FOREIGN_FAILED_AWAITING_FUNDS | — |
FOREIGN_FAILED_AWAITING_FUNDS | The foreign wallet refused the refund. TapPay waits for the bank to return the money. | FAILED | — |
SUCCEEDED | The money went back to the payer. | None, final | refund.succeeded |
FAILED | The refund did not go through. | None, final | refund.failed |
Checkout session
status of a checkout session. Confirm the result with a webhook or a GET, and not with the redirect.
| Status | Meaning | Next | Event |
|---|---|---|---|
OPEN | The customer can still pay. | — | — |
COMPLETE | The customer finished the session. | None, final | — |
EXPIRED | The checkout_session_ttl ran out. | None, final | — |
Subscription
status of a subscription.
| Status | Meaning | Next | Event |
|---|---|---|---|
TRIALING | The trial period. | — | — |
ACTIVE | Normal. Each cycle is charged. | — | subscription.renewed |
PAST_DUE | A cycle failed. TapPay retries on the retry schedule and sends the payer a link to change the card. | — | subscription.past_due |
PAUSED | You paused it. | — | subscription.paused, subscription.resumed |
CANCELLED | The subscription ended. | None, final | subscription.cancelled |
Payout
status of a payout.
| Status | Meaning | Next | Event |
|---|---|---|---|
PENDING | A manual request that is still in checks. | SCHEDULED, FAILED | payout.requested |
SCHEDULED | The bank transfer is waiting. It can wait for the next bank window. | IN_TRANSIT, FAILED | payout.scheduled |
IN_TRANSIT | The money was sent and the bank statement does not confirm it yet. | PAID, FAILED | payout.in_transit |
PAID | The bank statement confirmed the transfer. | None, final | payout.paid |
FAILED | The transfer failed. The amount returns to your available balance. | None, final | payout.failed |
Report
status of a report.
| Status | Meaning | Next | Event |
|---|---|---|---|
PENDING | The report is queued. | — | — |
RUNNING | The report is being built. | — | — |
SUCCEEDED | The report is ready. | — | — |
FAILED | The report could not be built. | None, final | — |
EXPIRED | The report is no longer available. | None, final | — |
Receipt
status of the receipt of a payment. A payment with no receipt has null.
| Status | Meaning | Next | Event |
|---|---|---|---|
PENDING | TapPay is registering the receipt, or waiting for you if you are the issuer. | REGISTERED, FAILED | ebarimt.receipt_requested |
REGISTERED | The receipt was issued. | RETURNED | ebarimt.issued |
FAILED | Retries ran out, or the merchant did not issue it in time. | TapPay staff can send it again | ebarimt.failed |
RETURNED | The receipt was returned. A new receipt can replace it. | None, final | ebarimt.returned, ebarimt.return_requested |
Fulfillment
status of the fulfillment of a payment. It never changes payment.status.
| Status | Meaning | Next | Event |
|---|---|---|---|
PENDING | The money is in and you have not started. | — | — |
IN_PROGRESS | The service is under way. | — | — |
COMPLETED | The service is done. | None, final | — |
FAILED | The service did not work out. The payment stays SUCCEEDED, and a refund is separate. | None, final | — |
CANCELLED | You cancelled the service. | None, final | — |
QR of an intent
qrStatus of a PaymentIntent. A declined payment keeps the QR ACTIVE.
| Status | Meaning | Next | Event |
|---|---|---|---|
ACTIVE | The QR code can be paid. | — | — |
USED | The QR code was paid successfully. | None, final | payment.succeeded |
CLOSED | The share was paid another way, or it expired or was cancelled. | None, final | — |
Presentation
status of a presentation. Each channel has one ACTIVE presentation.
| Status | Meaning | Next | Event |
|---|---|---|---|
ACTIVE | This is the current presentation of the channel. | CLOSED | — |
CLOSED | A newer presentation replaced it, or the intent closed. | None, final | — |
Pre-auth
preauthStatus of a payment made with pre-auth. You finalize once.
| Status | Meaning | Next | Event |
|---|---|---|---|
OPEN | Waiting for you to finalize. | FINALIZED, AUTO_FINALIZED | — |
FINALIZED | You finalized with the final amount. | None, final | payment.finalized |
AUTO_FINALIZED | You did not finalize in time, so TapPay finalized the full amount. | None, final | payment.finalized |
Payment method
status of a customer payment method.
| Status | Meaning | Next | Event |
|---|---|---|---|
ACTIVE | You can charge it. | REQUIRES_ACTION, PAUSED, REVOKED, EXPIRED | mandate.created, mandate.resumed |
REQUIRES_ACTION | The card route is no longer active. The payer must save the card again. | ACTIVE | — |
PAUSED | A wallet mandate that is paused. | ACTIVE, REVOKED | mandate.paused |
REVOKED | The payer or the wallet revoked it. | None, final | mandate.revoked |
EXPIRED | The valid_until date passed. | None, final | mandate.expired |
Payer link
status of a payer link.
| Status | Meaning | Next | Event |
|---|---|---|---|
ACTIVE | The wallet is linked to your customer. | REVOKED | link.created |
REVOKED | The payer, you or TapPay ended the link. | None, final | link.revoked |
Split beneficiary
status of a beneficiary of a split. Only an ACTIVE beneficiary receives a share.
| Status | Meaning | Next | Event |
|---|---|---|---|
PENDING | Waiting for the recipient to accept. | — | — |
ACTIVE | The recipient accepted. | — | — |
REJECTED | The recipient declined. | None, final | — |
REVOKED | You ended the beneficiary. | None, final | — |