Skip to content

Statuses

View as Markdown

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.

StatusMeaningNextEvent
OPENWaiting for payment.——
PARTIALLY_PAIDA share is paid and some amount is left.—invoice.partially_paid
PAIDThe full amount is paid.None, finalinvoice.paid
EXPIREDThe invoice time ran out.None, finalinvoice.expired
CANCELLEDThe invoice was cancelled.None, final—

PaymentIntent

status of a PaymentIntent. It has no events of its own, so follow the invoice and payment events.

StatusMeaningNextEvent
OPENNot paid yet, and the QR code is live.——
PROCESSINGA payment on this intent is being processed.——
SUCCEEDEDThe share is paid.None, final—
EXPIREDTime ran out before payment. The share returns to the invoice.None, final—
CANCELLEDThe intent was cancelled.None, final—

Payment

status of a payment.

StatusMeaningNextEvent
PROCESSINGThe money is on its way on the payment rail.—payment.processing
SUCCEEDEDThe money is confirmed. Settlement follows later.Refunds are possiblepayment.succeeded
FAILEDThe payment did not go through.None, finalpayment.failed
OVERPAIDA second payer paid a QR code that was already paid. TapPay refunds it automatically.None, finalpayment.overpaid
AUTHORIZEDThe amount is on hold on the card. It is not yet in your balance.SUCCEEDED after finalizepayment.authorized, payment.finalized
CANCELLEDThe payment was cancelled.None, final—

Refund

status of a refund.

StatusMeaningNextEvent
PENDINGThe refund is created and not sent yet.——
PROCESSINGThe refund is on its way on the payment rail.——
AWAITING_FOREIGNThe 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_FUNDSThe foreign wallet refused the refund. TapPay waits for the bank to return the money.FAILED—
SUCCEEDEDThe money went back to the payer.None, finalrefund.succeeded
FAILEDThe refund did not go through.None, finalrefund.failed

Checkout session

status of a checkout session. Confirm the result with a webhook or a GET, and not with the redirect.

StatusMeaningNextEvent
OPENThe customer can still pay.——
COMPLETEThe customer finished the session.None, final—
EXPIREDThe checkout_session_ttl ran out.None, final—

Subscription

status of a subscription.

StatusMeaningNextEvent
TRIALINGThe trial period.——
ACTIVENormal. Each cycle is charged.—subscription.renewed
PAST_DUEA cycle failed. TapPay retries on the retry schedule and sends the payer a link to change the card.—subscription.past_due
PAUSEDYou paused it.—subscription.paused, subscription.resumed
CANCELLEDThe subscription ended.None, finalsubscription.cancelled

Payout

status of a payout.

StatusMeaningNextEvent
PENDINGA manual request that is still in checks.SCHEDULED, FAILEDpayout.requested
SCHEDULEDThe bank transfer is waiting. It can wait for the next bank window.IN_TRANSIT, FAILEDpayout.scheduled
IN_TRANSITThe money was sent and the bank statement does not confirm it yet.PAID, FAILEDpayout.in_transit
PAIDThe bank statement confirmed the transfer.None, finalpayout.paid
FAILEDThe transfer failed. The amount returns to your available balance.None, finalpayout.failed

Report

status of a report.

StatusMeaningNextEvent
PENDINGThe report is queued.——
RUNNINGThe report is being built.——
SUCCEEDEDThe report is ready.——
FAILEDThe report could not be built.None, final—
EXPIREDThe report is no longer available.None, final—

Receipt

status of the receipt of a payment. A payment with no receipt has null.

StatusMeaningNextEvent
PENDINGTapPay is registering the receipt, or waiting for you if you are the issuer.REGISTERED, FAILEDebarimt.receipt_requested
REGISTEREDThe receipt was issued.RETURNEDebarimt.issued
FAILEDRetries ran out, or the merchant did not issue it in time.TapPay staff can send it againebarimt.failed
RETURNEDThe receipt was returned. A new receipt can replace it.None, finalebarimt.returned, ebarimt.return_requested

Fulfillment

status of the fulfillment of a payment. It never changes payment.status.

StatusMeaningNextEvent
PENDINGThe money is in and you have not started.——
IN_PROGRESSThe service is under way.——
COMPLETEDThe service is done.None, final—
FAILEDThe service did not work out. The payment stays SUCCEEDED, and a refund is separate.None, final—
CANCELLEDYou cancelled the service.None, final—

QR of an intent

qrStatus of a PaymentIntent. A declined payment keeps the QR ACTIVE.

StatusMeaningNextEvent
ACTIVEThe QR code can be paid.——
USEDThe QR code was paid successfully.None, finalpayment.succeeded
CLOSEDThe share was paid another way, or it expired or was cancelled.None, final—

Presentation

status of a presentation. Each channel has one ACTIVE presentation.

StatusMeaningNextEvent
ACTIVEThis is the current presentation of the channel.CLOSED—
CLOSEDA newer presentation replaced it, or the intent closed.None, final—

Pre-auth

preauthStatus of a payment made with pre-auth. You finalize once.

StatusMeaningNextEvent
OPENWaiting for you to finalize.FINALIZED, AUTO_FINALIZED—
FINALIZEDYou finalized with the final amount.None, finalpayment.finalized
AUTO_FINALIZEDYou did not finalize in time, so TapPay finalized the full amount.None, finalpayment.finalized

Payment method

status of a customer payment method.

StatusMeaningNextEvent
ACTIVEYou can charge it.REQUIRES_ACTION, PAUSED, REVOKED, EXPIREDmandate.created, mandate.resumed
REQUIRES_ACTIONThe card route is no longer active. The payer must save the card again.ACTIVE—
PAUSEDA wallet mandate that is paused.ACTIVE, REVOKEDmandate.paused
REVOKEDThe payer or the wallet revoked it.None, finalmandate.revoked
EXPIREDThe valid_until date passed.None, finalmandate.expired

status of a payer link.

StatusMeaningNextEvent
ACTIVEThe wallet is linked to your customer.REVOKEDlink.created
REVOKEDThe payer, you or TapPay ended the link.None, finallink.revoked

Split beneficiary

status of a beneficiary of a split. Only an ACTIVE beneficiary receives a share.

StatusMeaningNextEvent
PENDINGWaiting for the recipient to accept.——
ACTIVEThe recipient accepted.——
REJECTEDThe recipient declined.None, final—
REVOKEDYou ended the beneficiary.None, final—