Skip to content

Errors

View as Markdown

Error format

When a request fails, TapPay returns a non-2xx HTTP status and a JSON body. The body has success set to false and an error object.

{
  "success": false,
  "error": {
    "code": "VAL-001",
    "message": "The request failed validation.",
    "messageKey": "validation.failed",
    "details": { "field": "amount", "rule": "number" },
    "traceId": "trace-id",
    "docUrl": "https://docs.tappay.mn/errors#VAL-001"
  }
}

Branch your code on the code field, not on message. Quote the traceId when you contact TapPay support. docUrl links to the code’s entry on this page. It is present only for codes in the catalog.

For validation errors, details.field names the field that failed and details.rule names the rule it broke (number, required, min, max, length, enum, format, or invalid).

Find an error

A code has the form XXX-NNN. The first two digits name the area, and each area below lists its codes. Every code shows its HTTP status, a cause and a fix.

Validation

VAL-001

HTTP status: 400 · The request failed validation.

Cause
The request body or query failed validation. A field has the wrong type, format or value.
Fix
Read the error details to find the field. Correct its value and send the request again.
See
/concepts/versioning

Returned by: integration.billingPlans.list, integration.checkout.createSession, integration.checkout.listSessions, integration.connect.token, integration.cpm.create, integration.customers.list, integration.customers.listPaymentMethods, integration.disputes.list, integration.oauth.token, integration.payerLinks.listByCustomer +33 more

VAL-002

HTTP status: 400 · A required field or header is missing.

Cause
A field or header that the operation requires was not sent.
Fix
Add the missing field or header named in the error details. Send the request again.
See
/get-started

Returned by: integration.apps.exchangeInstallCode, integration.billingPlans.archive, integration.billingPlans.create, integration.catalog.optOut, integration.catalog.pause, integration.catalog.resume, integration.checkout.createSession, integration.commerce.accept, integration.commerce.cancel, integration.commerce.complete +62 more

VAL-005

HTTP status: 400 · A date value is not valid.

Cause
A date value is not a valid date, or a date range is longer than the operation allows.
Fix
Send dates in ISO 8601 format. Make sure the end date is not before the start date and the range is within the limit.

Returned by: integration.checkout.createSession, integration.cpm.create, integration.v1.createPayment, integration.v1.listEvents

VAL-009

HTTP status: 400 · A string value is longer than the allowed maximum.

Cause
A text value is longer than the maximum length for that field.
Fix
Shorten the value to the limit shown in the reference. Send the request again.

Returned by: integration.cpm.create, integration.v1.createPayment, integration.v1.createWebhookEndpoint, integration.v1.updateWebhookEndpoint

VAL-010

HTTP status: 409 · This Idempotency-Key was already used with a different request body.

Cause
You reused an Idempotency-Key with a request body that differs from the first request.
Fix
Send the same body when you retry a request. Use a new Idempotency-Key for a different request.
See
/concepts/idempotency

Returned by: integration.apps.exchangeInstallCode, integration.billingPlans.archive, integration.billingPlans.create, integration.catalog.optOut, integration.catalog.pause, integration.catalog.resume, integration.checkout.createSession, integration.commerce.accept, integration.commerce.cancel, integration.commerce.complete +62 more

VAL-013

HTTP status: 409 · A request with this Idempotency-Key is still being processed.

Cause
The first request with this Idempotency-Key is still being processed.
Fix
Wait a few seconds. Retry with the same Idempotency-Key and read the result of the first request.
See
/concepts/idempotency

Returned by: integration.apps.exchangeInstallCode, integration.billingPlans.archive, integration.billingPlans.create, integration.catalog.optOut, integration.catalog.pause, integration.catalog.resume, integration.checkout.createSession, integration.commerce.accept, integration.commerce.cancel, integration.commerce.complete +62 more

VAL-014

HTTP status: 400 · The TapPay-Version header is not a known API version.

Cause
The TapPay-Version header names a version that TapPay does not know.
Fix
Send a version listed on the versioning page. Omit the header to use the first version, 2026-09-27.
See
/concepts/versioning

Returned by: integration.apps.exchangeInstallCode, integration.apps.revokeGrant, integration.billingPlans.archive, integration.billingPlans.create, integration.billingPlans.get, integration.billingPlans.list, integration.billingPlans.update, integration.catalog.get, integration.catalog.optIn, integration.catalog.optOut +122 more

Authentication

AUTH-001

HTTP status: 401 · The API key is missing, invalid or revoked.

Cause
The request carries no API key, or the key is unknown to this environment.
Fix
Send the secret key in the Authorization header as a Bearer token. Use a sandbox key against the sandbox and a production key against production.
See
/get-started

Returned by: integration.apps.exchangeInstallCode, integration.apps.revokeGrant, integration.billingPlans.archive, integration.billingPlans.create, integration.billingPlans.get, integration.billingPlans.list, integration.billingPlans.update, integration.catalog.get, integration.catalog.optIn, integration.catalog.optOut +122 more

AUTH-018

HTTP status: 403 · The request came from an IP address that is not on the key's allowlist.

Cause
The request came from an IP address that is not on the allowlist of the key.
Fix
Send the request from an allowed server. Or add the server IP address to the key allowlist in the portal.

Returned by: integration.apps.exchangeInstallCode, integration.apps.revokeGrant, integration.billingPlans.archive, integration.billingPlans.create, integration.billingPlans.get, integration.billingPlans.list, integration.billingPlans.update, integration.catalog.get, integration.catalog.optIn, integration.catalog.optOut +118 more

AUTH-055

HTTP status: 403 · The caller's scope does not allow this operation.

Cause
The POS client is not allowed to call this operation.
Fix
Use the POS client that was issued for this operation. Ask TapPay support to check the scope of the client.
See
/guides/pos-terminal

Returned by: pos.bankTerminals.list, pos.bankTerminals.sync, pos.payments.cpm, pos.payments.get, pos.payments.qr, pos.payments.refund, pos.payments.updateAmount, pos.sandbox.createTerminalRequest, pos.sandbox.simulate, pos.sandbox.simulateTerminalRequest +8 more

AUTH-058

HTTP status: 403 · The API key does not have the scope this operation requires.

Cause
The API key does not have the scope that this operation requires.
Fix
Check the scope listed on the operation page. Create a key with that scope and use it for the request.
See
/get-started

Returned by: integration.apps.exchangeInstallCode, integration.apps.revokeGrant, integration.billingPlans.archive, integration.billingPlans.create, integration.billingPlans.get, integration.billingPlans.list, integration.billingPlans.update, integration.catalog.get, integration.catalog.optIn, integration.catalog.optOut +122 more

AUTH-075

HTTP status: 400 · The connection code is invalid, expired or already used.

Cause
The connection code is invalid, has expired or was already used.
Fix
Start the connection again from the plugin to get a new code. Exchange the code only once, right after you receive it.

Returned by: integration.apps.exchangeInstallCode, integration.connect.token

AUTH-076

HTTP status: 404 · The connection was not found.

Cause
No connection with this id exists for your merchant.
Fix
Check the connection id. The connection may already be disconnected.

Returned by: integration.apps.revokeGrant, integration.connect.disconnect

AUTH-077

HTTP status: 409 · The maximum number of active connections has been reached.

Cause
Your merchant has reached the maximum number of active plugin connections.
Fix
Disconnect a plugin that you no longer use. Then connect again.

Returned by: integration.connect.token

Payments

PAY-001

HTTP status: 404 · The invoice was not found.

Cause
No invoice with this id exists for your merchant and environment.
Fix
Check the invoice id. Make sure the key belongs to the same merchant and environment that created the invoice.
See
/concepts/invoice-intent-payment

Returned by: integration.checkout.createSession, integration.v1.cancelIntent, integration.v1.cancelInvoice, integration.v1.createPayment, integration.v1.getIntent, integration.v1.getInvoice, integration.v1.presentIntent, integration.v1.updateIntent, integration.v1.updateInvoice, public.checkout.presentEmbeddedSession

PAY-002

HTTP status: 409 · The invoice has already been paid.

Cause
The invoice has already been paid, so it cannot be changed or paid again.
Fix
Read the invoice to confirm its status. Create a new invoice if you need another payment.
See
/concepts/statuses

Returned by: integration.v1.cancelInvoice, integration.v1.updateIntent, integration.v1.updateInvoice

PAY-003

HTTP status: 410 · The invoice has expired.

Cause
The invoice has passed its expiry time.
Fix
Create a new invoice for the customer. Set a longer expiry if customers need more time to pay.
See
/concepts/statuses

Returned by: integration.v1.cancelInvoice, integration.v1.updateIntent, integration.v1.updateInvoice

PAY-004

HTTP status: 410 · The invoice was cancelled.

Cause
The invoice was cancelled, so it cannot be paid.
Fix
Create a new invoice if the customer still needs to pay.
See
/concepts/statuses

Returned by: integration.v1.cancelInvoice, integration.v1.updateIntent, integration.v1.updateInvoice

PAY-007

HTTP status: 404 · The payment was not found.

Cause
No payment with this id exists for your merchant and environment.
Fix
Check the payment id. Use a key from the same merchant and environment that took the payment.
See
/concepts/invoice-intent-payment

Returned by: integration.refunds.get, integration.refunds.listByPayment, integration.v1.getPayment, integration.v1.getPaymentReceipt, integration.v1.simulateEbarimt

PAY-010

HTTP status: 422 · The requested payment channel is not available for this payment.

Cause
The payment channel you asked for is not enabled or not supported for this payment.
Fix
Choose a channel that is enabled for your merchant. Omit the channel to let the customer choose.
See
/guides/checkout

Returned by: integration.checkout.createSession, integration.v1.presentIntent, public.checkout.presentEmbeddedSession, public.checkout.simulateEmbeddedSession

PAY-012

HTTP status: 409 · The payment intent is no longer open.

Cause
The payment intent is no longer open. It was paid, cancelled or expired.
Fix
Read the intent to see its status. Create a new intent if the customer still needs to pay.
See
/concepts/statuses

Returned by: integration.v1.cancelIntent, integration.v1.createPayment, integration.v1.presentIntent, integration.v1.updateIntent, pos.payments.updateAmount, public.checkout.presentEmbeddedSession

PAY-013

HTTP status: 409 · This order id already has an open invoice created with a different request body.

Cause
An open invoice already exists for this terminal and order id, and it was created with a different request body (amount, description, lines or other fields).
Fix
Repeat exactly the same request body to get the existing invoice back. Use a new order id for a different order.
See
/concepts/idempotency

Returned by: integration.checkout.createSession, integration.v1.createInvoice

PAY-017

HTTP status: 422 · The amount is greater than the remaining amount to pay.

Cause
The amount is greater than the amount that is still left to pay on the invoice.
Fix
Send an amount that is not above the remaining amount. Read the invoice to see what is left.
See
/concepts/invoice-intent-payment

Returned by: integration.v1.createPayment

PAY-018

HTTP status: 422 · The invoice lines are invalid or their total does not match the amount.

Cause
The invoice lines are not valid, or their total does not equal the amount.
Fix
Check every line. Make the sum of the line amounts equal to the invoice amount.

Returned by: integration.v1.updateInvoice

PAY-027

HTTP status: 409 · The invoice cannot be paid in its current state.

Cause
The invoice is paid or cancelled, so no new payment can start on it.
Fix
Read the invoice to check its status. Create a new invoice for a new payment.
See
/concepts/statuses

Returned by: integration.v1.createPayment

PAY-030

HTTP status: 422 · The checkout session request does not match the session mode.

Cause
The checkout session request does not fit the mode of the session. For example, a setup session cannot carry an invoice.
Fix
Check the mode of the session. Remove the fields that the mode does not allow and send the request again.
See
/guides/checkout

Returned by: integration.checkout.createSession

PAY-031

HTTP status: 422 · The customer was not found.

Cause
The customer id in the request does not exist in this environment.
Fix
Create the customer first, or send an id of an existing customer. Use the same environment for both calls.
See
/guides/checkout

Returned by: integration.checkout.createSession, integration.customers.get, integration.customers.listPaymentMethods, integration.customers.update, integration.payerLinks.listByCustomer, integration.subscriptions.create, integration.v1.createPayment

PAY-032

HTTP status: 422 · The checkout mode is not available.

Cause
The checkout mode you asked for is not enabled for your merchant.
Fix
Use the payment mode. Ask TapPay support to enable other modes for your merchant.
See
/guides/checkout

Returned by: integration.checkout.createSession

PAY-033

HTTP status: 409 · The checkout session is not open.

Cause
The checkout session is no longer open. It was completed, expired or cancelled.
Fix
Read the session to see its status. Create a new session for a new payment.
See
/guides/checkout

Returned by: integration.checkout.createSession, public.checkout.presentEmbeddedSession, public.checkout.simulateEmbeddedSession

PAY-034

HTTP status: 404 · The checkout session was not found, or the client secret does not match.

Cause
No checkout session matches this id for your key, or the client secret is wrong.
Fix
Check the session id and the client secret. Use a key from the merchant and environment that created the session.
See
/guides/checkout

Returned by: integration.checkout.getSession, public.checkout.getEmbeddedSession, public.checkout.getEmbeddedSessionReceipt, public.checkout.presentEmbeddedSession, public.checkout.simulateEmbeddedSession

PAY-035

HTTP status: 422 · The payer's consent is required for this payment.

Cause
The payment saves the payment method for later use, so the payer must give consent.
Fix
Show the consent text to the payer. Send consent as true only after the payer agrees.
See
/guides/checkout

Returned by: public.checkout.presentEmbeddedSession, public.checkout.simulateEmbeddedSession

PAY-037

HTTP status: 422 · Editing this field is not allowed by your settings.

Cause
The settings of your merchant do not allow editing this field.
Fix
Edit only the fields that your settings allow. The error details name the field.

Returned by: integration.v1.updateIntent, integration.v1.updateInvoice

PAY-038

HTTP status: 409 · A payment for this invoice is in progress, so it cannot be edited.

Cause
A payment for this invoice is in progress, so it cannot be edited.
Fix
Wait until the payment finishes. Read the invoice and edit it only if it is still open.
See
/concepts/statuses

Returned by: integration.v1.updateIntent, integration.v1.updateInvoice, pos.payments.updateAmount

PAY-039

HTTP status: 422 · Subscription invoices and payer-created intents cannot be edited.

Cause
Subscription invoices and intents created by the payer cannot be edited.
Fix
Create a new invoice instead. Change a subscription amount on the subscription itself.

Returned by: integration.v1.updateIntent, integration.v1.updateInvoice, pos.payments.updateAmount

PAY-040

HTTP status: 422 · Send either amount or lines, not both; with lines, the amount is their total.

Cause
The request sends both amount and lines. With lines, the amount is their total.
Fix
Send either amount or lines. Leave out amount when you send lines.

Returned by: integration.v1.updateInvoice

Merchant and terminal

BIZ-002

HTTP status: 400 · The merchant's daily limit would be exceeded.

Cause
This payment would take the merchant over its daily limit.
Fix
Wait until the limit resets on the next day. Contact TapPay support to raise the daily limit.

Returned by: integration.cpm.create, integration.v1.createPayment

BIZ-004

HTTP status: 403 · The terminal is not active.

Cause
The terminal that the request refers to is not active.
Fix
Activate the terminal in the portal. Or use a key for an active terminal.

Returned by: integration.apps.exchangeInstallCode, integration.apps.revokeGrant, integration.billingPlans.archive, integration.billingPlans.create, integration.billingPlans.get, integration.billingPlans.list, integration.billingPlans.update, integration.catalog.get, integration.catalog.optIn, integration.catalog.optOut +122 more

BIZ-005

HTTP status: 403 · The merchant account is not in a state that allows this request.

Cause
The merchant account is not in a status that allows this request. For example, it is suspended or not yet approved.
Fix
Check the merchant status in the portal. Contact TapPay support if the status looks wrong.

Returned by: integration.apps.exchangeInstallCode, integration.apps.revokeGrant, integration.billingPlans.archive, integration.billingPlans.create, integration.billingPlans.get, integration.billingPlans.list, integration.billingPlans.update, integration.catalog.get, integration.catalog.optIn, integration.catalog.optOut +123 more

BIZ-013

HTTP status: 404 · The terminal was not found.

Cause
No terminal with this id exists for your merchant.
Fix
Check the terminal id. Use a key from the merchant that owns the terminal.

Returned by: integration.checkout.createSession, integration.connect.token, integration.cpm.create, integration.subscriptions.create, integration.terminals.createPaymentPoint, integration.terminals.get, integration.v1.createInvoice, integration.v1.createPayment, integration.v1.createReport, integration.v1.createWebhookEndpoint +2 more

Refunds

RFD-020

HTTP status: 422 · The refund cannot be created because the available refund limit is negative.

Cause
The refund limit available for this payment is below zero, so a refund cannot start.
Fix
Wait until the balance recovers. Contact TapPay support if the balance should be positive.

Returned by: integration.refunds.create

RFD-021

HTTP status: 409 · The refund cannot be created because the original payment's destination cannot be resolved.

Cause
TapPay cannot tell where the original payment money went, so it cannot send the refund back.
Fix
Contact TapPay support with the payment id. Do not retry the request until the destination is fixed.

Returned by: integration.refunds.create

RFD-022

HTTP status: 409 · The payment is not eligible for a refund.

Cause
The payment is not in a state that can be refunded. For example, it is not yet paid.
Fix
Read the payment and check its status. Refund only a paid payment.
See
/concepts/statuses

Returned by: integration.refunds.create, integration.v1.finalizePayment

RFD-030

HTTP status: 422 · The refund amount is greater than the amount that can still be refunded.

Cause
The refund amount is above what can still be refunded for this payment.
Fix
Read the payment to see the refundable amount. Send an amount that is not above it.

Returned by: integration.refunds.create, integration.v1.finalizePayment

RFD-031

HTTP status: 409 · No refund route is available for this payment.

Cause
No refund route exists for the way this payment was made.
Fix
Contact TapPay support with the payment id. Ask for a manual refund.

Returned by: integration.refunds.create, integration.v1.finalizePayment

RFD-032

HTTP status: 422 · This payment does not support partial refunds.

Cause
The payment method used does not allow a refund of part of the amount.
Fix
Refund the full amount of the payment instead.

Returned by: integration.refunds.create, integration.v1.finalizePayment

RFD-033

HTTP status: 422 · Refunds are not supported for this payment.

Cause
The payment method used does not allow refunds at all.
Fix
Return the money to the customer by another agreed method. Contact TapPay support if you need help.

Returned by: integration.refunds.create, integration.v1.finalizePayment

RFD-034

HTTP status: 422 · The refund window for this payment has expired.

Cause
The refund window for this payment has closed.
Fix
Do not retry the refund. Return the money by another agreed method or contact TapPay support.

Returned by: integration.refunds.create, integration.v1.finalizePayment

RFD-035

HTTP status: 409 · This actor is not allowed to request the refund.

Cause
The user or key that sent the request is not allowed to ask for this refund.
Fix
Use a key or user with refund permission. Ask the merchant owner to grant it.

Returned by: integration.refunds.create, integration.v1.finalizePayment

RFD-036

HTTP status: 409 · A refund with this idempotency key already exists with different parameters.

Cause
A refund with this idempotency key already exists, but its parameters are different.
Fix
Send the same parameters when you retry. Use a new idempotency key for a different refund.
See
/concepts/idempotency

Returned by: integration.refunds.create, integration.v1.finalizePayment

RFD-038

HTTP status: 422 · The refund lines are not valid for this invoice.

Cause
The refund lines do not match the lines of the invoice.
Fix
Read the invoice to get its line ids and amounts. Send refund lines that match them.

Returned by: integration.refunds.create, integration.v1.finalizePayment

RFD-039

HTTP status: 404 · The refund was not found.

Cause
No refund with this id exists for your merchant.
Fix
Check the refund id. Use a key from the merchant that created the refund.

Returned by: integration.refunds.get

RFD-040

HTTP status: 422 · This refund reason is not in your list.

Cause
The reasonType is not in the refund reason list of your merchant.
Fix
List the refund reasons and send one of their codes. Or leave out reasonType.
See
/guides/refunds

Returned by: integration.refunds.create

URL checks

BNK-101

HTTP status: 400 · The URL is not valid.

Cause
The URL you sent is not a valid URL.
Fix
Send a full URL that starts with https. Fix any typo and send the request again.

Returned by: integration.v1.createWebhookEndpoint, integration.v1.updateWebhookEndpoint

BNK-103

HTTP status: 400 · The URL points to a private or internal host, which is not allowed.

Cause
The URL points to a private or internal host. TapPay does not call such hosts.
Fix
Use a public URL that TapPay can reach from the internet. Do not use localhost or private addresses.

Returned by: integration.v1.createWebhookEndpoint, integration.v1.updateWebhookEndpoint

BNK-104

HTTP status: 400 · The URL host could not be resolved.

Cause
TapPay could not find the host of the URL in DNS.
Fix
Check the host name for typos. Make sure its DNS record is public, then send the request again.

Returned by: integration.v1.createWebhookEndpoint, integration.v1.updateWebhookEndpoint

Platform settings

SET-002

HTTP status: 400 · A required platform setting is missing or unknown.

Cause
A platform setting that the operation needs is missing or unknown.
Fix
Contact TapPay support with the request id. Do not retry until the setting is fixed.

Returned by: integration.payouts.create, integration.refunds.create, integration.split.getRules, integration.v1.createPayment, public.checkout.getEmbeddedSession, public.checkout.simulateEmbeddedSession

SET-007

HTTP status: 422 · The value violates a platform limit.

Cause
The value breaks a limit set by the platform.
Fix
Read the error details to see which limit applies. Send a value inside the limit.

Returned by: integration.checkout.createSession, integration.commerce.create, integration.cpm.create, integration.v1.createPayment, integration.v1.updateIntent, integration.v1.updateInvoice, pos.payments.updateAmount

Request signing

SIG-002

HTTP status: 401 · The request timestamp is outside the allowed time window.

Cause
The timestamp of the request is outside the allowed time window.
Fix
Sync the clock of your server. Send the current time in the TapPay-Timestamp header.

Returned by: integration.apps.exchangeInstallCode, integration.apps.revokeGrant, integration.billingPlans.archive, integration.billingPlans.create, integration.billingPlans.get, integration.billingPlans.list, integration.billingPlans.update, integration.catalog.get, integration.catalog.optIn, integration.catalog.optOut +118 more

SIG-003

HTTP status: 401 · The request signature is missing or does not match.

Cause
The signature is missing, or it does not match the request.
Fix
Sign the exact request body with your secret. Send the signature in the header and check that the secret is correct.

Returned by: integration.apps.exchangeInstallCode, integration.apps.revokeGrant, integration.billingPlans.archive, integration.billingPlans.create, integration.billingPlans.get, integration.billingPlans.list, integration.billingPlans.update, integration.catalog.get, integration.catalog.optIn, integration.catalog.optOut +118 more

SIG-005

HTTP status: 409 · This request nonce was already used.

Cause
This nonce was already used in an earlier request.
Fix
Generate a new random nonce for every request.

Returned by: integration.apps.exchangeInstallCode, integration.apps.revokeGrant, integration.billingPlans.archive, integration.billingPlans.create, integration.billingPlans.get, integration.billingPlans.list, integration.billingPlans.update, integration.catalog.get, integration.catalog.optIn, integration.catalog.optOut +118 more

Fees

FSC-013

HTTP status: 500 · The fee could not be calculated because the destination cannot be resolved.

Cause
TapPay could not work out the fee because it cannot tell where the money goes.
Fix
Contact TapPay support with the request id. Do not retry until the destination is fixed.

Returned by: integration.v1.createPayment, integration.v1.simulateIntent, integration.v1.simulatePayment, public.checkout.simulateEmbeddedSession

Payouts and splits

PYO-101

HTTP status: 422 · The available balance is not enough for this payout.

Cause
The available balance is lower than the payout amount.
Fix
Lower the payout amount. Or wait until more payments settle and the balance grows.

Returned by: integration.payouts.create

PYO-108

HTTP status: 409 · Manual payouts are not enabled for this merchant.

Cause
Manual payouts are not enabled for this merchant, or you are in the sandbox.
Fix
Use production keys for manual payouts. Ask TapPay support to enable manual payouts for your merchant.

Returned by: integration.payouts.create

PYO-109

HTTP status: 422 · The settlement account is not valid for this payout.

Cause
The settlement account is missing, or it does not suit this payout.
Fix
Check the settlement account in the portal. Choose an account in the payout currency.

Returned by: integration.payouts.create

PYO-110

HTTP status: 422 · The payout account is not valid.

Cause
The payout account is not valid, or its currency differs from the payout.
Fix
Check the account number and currency. Send an account that matches the payout currency.

Returned by: integration.payouts.create

PYO-115

HTTP status: 409 · The merchant is not active, so a payout cannot be requested.

Cause
The merchant is not active, so it cannot request a payout.
Fix
Check the merchant status in the portal. Contact TapPay support to reactivate the merchant.

Returned by: integration.payouts.create

PYO-201

HTTP status: 404 · The split beneficiary was not found.

Cause
The merchant code of a split beneficiary does not match any merchant.
Fix
Check the merchant code. Send the code of an existing merchant.

Returned by: integration.split.acceptBeneficiary, integration.split.createBeneficiary, integration.split.putRules, integration.split.rejectBeneficiary, integration.split.revokeBeneficiary

PYO-202

HTTP status: 422 · A merchant cannot be its own split beneficiary.

Cause
A merchant cannot be a beneficiary of its own split.
Fix
Remove the merchant from the beneficiary list. Add another merchant as beneficiary.

Returned by: integration.split.createBeneficiary

PYO-203

HTTP status: 422 · The split beneficiary has not completed identity verification.

Cause
The beneficiary has not completed identity verification.
Fix
Ask the beneficiary to finish verification. Add the beneficiary again after it is approved.

Returned by: integration.split.acceptBeneficiary, integration.split.createBeneficiary, integration.split.rejectBeneficiary, integration.split.revokeBeneficiary

PYO-204

HTTP status: 409 · This split beneficiary already exists.

Cause
This beneficiary is already registered.
Fix
Use the existing beneficiary. Do not create it again.

Returned by: integration.split.createBeneficiary

PYO-205

HTTP status: 422 · The split rule percentages add up to more than the allowed total.

Cause
The percentages of the split rules add up to more than the allowed total.
Fix
Lower the percentages. Make the total not exceed the allowed maximum.

Returned by: integration.split.putRules

PYO-206

HTTP status: 422 · A split rule refers to a beneficiary that is not active.

Cause
A split rule points to a beneficiary that is not active.
Fix
Activate the beneficiary, or remove it from the rule. Send the rule again.

Returned by: integration.split.putRules

PYO-207

HTTP status: 422 · The split beneficiary is not active.

Cause
The split beneficiary is not active.
Fix
Activate the beneficiary in the portal. Or choose another beneficiary.

Returned by: integration.cpm.create, integration.v1.createPayment

PYO-208

HTTP status: 409 · The beneficiary is not in a state that allows this action.

Cause
The beneficiary is not in a status that allows this action.
Fix
Check the beneficiary status in the portal. Wait until the status allows the action.

Returned by: integration.split.acceptBeneficiary, integration.split.putRules, integration.split.rejectBeneficiary, integration.split.revokeBeneficiary

PYO-209

HTTP status: 422 · A split rule refers to a terminal that is not valid for this merchant.

Cause
A split rule points to a terminal that does not belong to this merchant.
Fix
Use a terminal id from this merchant. Remove the terminal from the rule if it is not needed.

Returned by: integration.split.getRules, integration.split.putRules

PYO-210

HTTP status: 422 · The split rule start date is in the past.

Cause
The start date of the split rule is in the past.
Fix
Set a start date that is today or later. Send the rule again.

Returned by: integration.split.putRules

PYO-306

HTTP status: 409 · A payout cannot be made because the final payout is blocked.

Cause
The final payout is on hold, so no payout can run.
Fix
Wait until the hold is released. Contact TapPay support to ask why it was placed.

Returned by: integration.payouts.create

PYO-308

HTTP status: 409 · A payout cannot be made because a reserve is pending.

Cause
A reserve is waiting to be taken, so no payout can run.
Fix
Wait until the reserve is settled. Contact TapPay support for the reserve status.

Returned by: integration.payouts.create

Webhooks, sandbox and reports

EVT-001

HTTP status: 404 · The event was not found.

Cause
No event with this id exists for your merchant and environment.
Fix
Check the event id. List events to find the right one.
See
/concepts/events

Returned by: integration.v1.getEvent, integration.v1.resendEvent

EVT-002

HTTP status: 422 · The webhook endpoint limit has been reached.

Cause
You reached the maximum number of webhook endpoints.
Fix
Delete an endpoint you no longer use. Or reuse an existing endpoint for more event types.
See
/guides/webhooks

Returned by: integration.connect.token, integration.v1.createWebhookEndpoint, integration.v1.updateWebhookEndpoint

EVT-003

HTTP status: 422 · The webhook endpoint subscribes to an event type that does not exist.

Cause
The endpoint subscribes to an event type that does not exist.
Fix
Check the event type names in the events list. Send only names that exist.
See
/concepts/events

Returned by: integration.v1.createWebhookEndpoint, integration.v1.updateWebhookEndpoint

EVT-004

HTTP status: 422 · The webhook endpoint URL must use HTTPS.

Cause
The endpoint URL does not use HTTPS.
Fix
Serve your endpoint over HTTPS. Send the URL that starts with https.
See
/guides/webhooks

Returned by: integration.connect.token, integration.v1.createWebhookEndpoint, integration.v1.updateWebhookEndpoint

EVT-005

HTTP status: 409 · The webhook endpoint is disabled.

Cause
The webhook endpoint is disabled.
Fix
Enable the endpoint in the portal or through the API. Send the request again.
See
/guides/webhooks

Returned by: integration.v1.resendEvent, integration.v1.rotateWebhookEndpointSecret

EVT-006

HTTP status: 404 · The webhook endpoint was not found.

Cause
No webhook endpoint with this id exists for your merchant.
Fix
Check the endpoint id. List endpoints to find the right one.
See
/guides/webhooks

Returned by: integration.v1.deleteWebhookEndpoint, integration.v1.getWebhookEndpoint, integration.v1.resendEvent, integration.v1.rotateWebhookEndpointSecret, integration.v1.updateWebhookEndpoint

EVT-007

HTTP status: 400 · The secret rotation overlap period is not valid.

Cause
The overlap period for the old secret is not valid.
Fix
Send a period inside the allowed range. Use a shorter period if the value was too long.
See
/guides/webhooks

Returned by: integration.v1.rotateWebhookEndpointSecret

EVT-009

HTTP status: 409 · A webhook endpoint with this URL already exists.

Cause
A webhook endpoint with this URL already exists.
Fix
Update the existing endpoint instead. Or use a different URL.
See
/guides/webhooks

Returned by: integration.v1.createWebhookEndpoint, integration.v1.updateWebhookEndpoint

EVT-201

HTTP status: 403 · This operation is not available for the key environment: sandbox-only operations need a sandbox key, and the others need a production key.

Cause
This operation does not match the environment of the key. Sandbox-only operations need a sandbox key, and the others need a production key.
Fix
Use a sandbox key for sandbox-only operations. Use a production key for all other operations.
See
/testing

Returned by: integration.payouts.create, integration.payouts.get, integration.payouts.list, integration.split.acceptBeneficiary, integration.split.createBeneficiary, integration.split.getRules, integration.split.listBeneficiaries, integration.split.putRules, integration.split.rejectBeneficiary, integration.split.revokeBeneficiary +4 more

EVT-202

HTTP status: 422 · The test card number is not a known sandbox test card.

Cause
The card number is not one of the known sandbox test cards.
Fix
Use a test card from the testing page.
See
/testing

Returned by: integration.v1.createPayment, integration.v1.simulateIntent, public.checkout.simulateEmbeddedSession

EVT-203

HTTP status: 409 · The payment intent is not open, so it cannot be simulated.

Cause
The payment intent is not open, so the simulator cannot act on it.
Fix
Create a new intent and simulate it while it is open.
See
/testing

Returned by: integration.v1.simulateIntent, public.checkout.simulateEmbeddedSession

EVT-204

HTTP status: 409 · The payment is not processing, so it cannot be simulated.

Cause
The payment is not processing, so the simulator cannot act on it.
Fix
Start the payment first. Simulate it while it is processing.
See
/testing

Returned by: integration.v1.simulatePayment

EVT-205

HTTP status: 422 · The channel is not available in the sandbox.

Cause
The channel is not available in the sandbox.
Fix
Choose a channel that the sandbox supports. See the sandbox limits on the Testing page.
See
/testing

Returned by: integration.v1.simulateIntent, public.checkout.simulateEmbeddedSession

EVT-206

HTTP status: 401 · Production keys are not accepted in the sandbox. Use a sandbox key (sk_test_/pk_test_).

Cause
A production key was sent to the sandbox.
Fix
Use a sandbox key that starts with sk_test_ or pk_test_.
See
/testing

Returned by: integration.apps.exchangeInstallCode, integration.apps.revokeGrant, integration.billingPlans.archive, integration.billingPlans.create, integration.billingPlans.get, integration.billingPlans.list, integration.billingPlans.update, integration.catalog.get, integration.catalog.optIn, integration.catalog.optOut +118 more

EVT-207

HTTP status: 401 · Sandbox keys are not accepted in production. Use a production key (sk_live_/pk_live_).

Cause
A sandbox key was sent to production.
Fix
Use a production key that starts with sk_live_ or pk_live_.
See
/testing

Returned by: integration.apps.exchangeInstallCode, integration.apps.revokeGrant, integration.billingPlans.archive, integration.billingPlans.create, integration.billingPlans.get, integration.billingPlans.list, integration.billingPlans.update, integration.catalog.get, integration.catalog.optIn, integration.catalog.optOut +118 more

EVT-301

HTTP status: 404 · The report was not found.

Cause
No report with this id exists for your merchant.
Fix
Check the report id. List reports to find the right one.

Returned by: integration.v1.getReport

EVT-302

HTTP status: 422 · The report date range is not valid.

Cause
The date range of the report is not valid.
Fix
Make the start date earlier than the end date. Keep the range inside the allowed limit.

Returned by: integration.v1.createReport

EVT-305

HTTP status: 422 · The settlement account does not belong to this merchant.

Cause
The settlement account does not belong to this merchant.
Fix
Use a settlement account of this merchant. Check the account id in the portal.

Returned by: integration.v1.createReport

EVT-306

HTTP status: 403 · This report type requires a key that is not limited to a terminal.

Cause
This report type needs a key that is not limited to one terminal.
Fix
Use a merchant-level key. Create one in the portal if you only have a terminal key.

Returned by: integration.v1.createReport

After payment

AFP-001

HTTP status: 409 · The payment intent is locked by another operation.

Cause
Another operation is working on the payment intent right now.
Fix
Wait a few seconds. Retry the request with the same Idempotency-Key.
See
/concepts/idempotency

Returned by: integration.v1.createPayment, integration.v1.simulateIntent, integration.v1.simulatePayment, integration.v1.updateIntent, integration.v1.updateInvoice, pos.payments.updateAmount, public.checkout.simulateEmbeddedSession

AFP-002

HTTP status: 409 · The payment intent has already been paid.

Cause
The payment intent has already been paid.
Fix
Read the intent to confirm its status. Create a new intent for a new payment.
See
/concepts/statuses

Returned by: integration.cpm.create

AFP-003

HTTP status: 410 · The payment intent has expired.

Cause
The payment intent has expired.
Fix
Create a new intent for the customer.
See
/concepts/statuses

Returned by: integration.cpm.create, integration.v1.presentIntent, public.checkout.presentEmbeddedSession

AFP-012

HTTP status: 422 · The fulfillment of a payment that belongs to an invoice is updated on the invoice.

Cause
A payment that belongs to an invoice has no fulfillment of its own.
Fix
Update the fulfillment on the invoice instead. Use the invoice fulfillment operation.

Returned by: integration.v1.putPaymentFulfillment

AFP-151

HTTP status: 422 · The sandbox cannot set this receipt result for the receipt in its current state.

Cause
The sandbox cannot set this result for the receipt in its current state. MERCHANT_TIMEOUT needs a PENDING receipt from the MERCHANT issuer, and REGISTERED needs a PENDING or FAILED receipt from the NODE issuer.
Fix
Read the receipt and check its status and issuer. Send an outcome that fits them.

Returned by: integration.v1.simulateEbarimt

AFP-170

HTTP status: 422 · The split configuration is not valid for the e-barimt seller.

Cause
The split setup does not fit the e-barimt seller of this payment.
Fix
Check the e-barimt seller and the split rules in the portal. Make them consistent and try again.

Returned by: integration.split.putRules

QR payments

QR-002

HTTP status: 422 · The QR value is not valid.

Cause
The QR value is not a valid TapPay QR code.
Fix
Scan the QR code again. Send the value exactly as it was read.

Returned by: integration.cpm.create

QR-003

HTTP status: 404 · The payment intent for this QR was not found.

Cause
No payment intent exists for this QR code.
Fix
Check that the QR code was made by your merchant. Create a new QR code if needed.

Returned by: integration.cpm.create

QR-006

HTTP status: 409 · This customer-presented QR code was already used.

Cause
This customer QR code was already used for a payment.
Fix
Ask the customer to show a new QR code. Do not reuse a scanned code.

Returned by: integration.cpm.create

QR-008

HTTP status: 422 · The payment point does not belong to this terminal or is not active.

Cause
The payment point does not belong to this terminal, or it is not active.
Fix
Use an active payment point of the same terminal. List the payment points of the terminal to find one.
See
/guides/qr-payments

Returned by: integration.v1.createInvoice, integration.v1.createInvoiceIntent, pos.payments.qr

QR-016

HTTP status: 404 · The sticker serial number is not valid for this merchant.

Cause
The sticker serial number is not valid for your merchant.
Fix
Check the serial number on the sticker. Use a sticker that is assigned to your merchant.
See
/guides/qr-payments

Returned by: integration.v1.createInvoice, integration.v1.createInvoiceIntent

QR-021

HTTP status: 403 · The sticker is assigned to another system.

Cause
The sticker is assigned to another system.
Fix
Send the request from the system that owns the sticker. Or use a sticker assigned to your system.
See
/guides/qr-payments

Returned by: integration.v1.createInvoice, integration.v1.createInvoiceIntent

Customers and recurring payments

RCR-001

HTTP status: 409 · A customer with this identifier already exists.

Cause
A customer with this identifier already exists.
Fix
Read the existing customer by its identifier. Use it instead of creating a new one.

Returned by: integration.customers.create

RCR-002

HTTP status: 422 · The customer request body is not valid.

Cause
The customer request body is not valid.
Fix
Read the error details to find the field. Correct it and send the request again.

Returned by: integration.checkout.createSession, integration.cpm.create, integration.customers.create, integration.customers.update, integration.v1.createPayment

RCR-003

HTTP status: 404 · The payment method was not found.

Cause
No payment method with this id exists for your merchant.
Fix
Check the payment method id. List the methods of the customer to find it.

Returned by: integration.customers.deletePaymentMethod, integration.customers.getPaymentMethod, integration.subscriptions.create, integration.subscriptions.get, integration.subscriptions.update, integration.v1.createPayment

RCR-004

HTTP status: 422 · This kind of payment method is not available.

Cause
This kind of payment method is not available for your merchant.
Fix
Use a kind that is enabled for you. Ask TapPay support to enable other kinds.

Returned by: integration.customers.deletePaymentMethod, integration.v1.createPayment

RCR-012

HTTP status: 422 · The provider credentials required for this payment are not configured.

Cause
The provider credentials that this payment needs are not set up.
Fix
Contact TapPay support to finish the provider setup. Retry after it is done.

Returned by: integration.v1.createPayment

RCR-051

HTTP status: 422 · Merchant-initiated payments are not enabled for this merchant.

Cause
Merchant-initiated payments are not enabled for this merchant.
Fix
Ask TapPay support to enable merchant-initiated payments. Retry after it is enabled.

Returned by: integration.subscriptions.create, integration.subscriptions.update, integration.v1.createPayment

RCR-052

HTTP status: 422 · The payment method requires action from the customer before it can be charged.

Cause
The customer must take an action before this payment method can be charged.
Fix
Ask the customer to finish the setup step. Charge the method after it is ready.

Returned by: integration.v1.createPayment

RCR-053

HTTP status: 422 · The payment method is not active.

Cause
The payment method is not active.
Fix
Ask the customer to add a new payment method. Charge only active methods.

Returned by: integration.v1.createPayment

RCR-054

HTTP status: 422 · The payment rail does not support merchant-initiated payments.

Cause
The payment rail of this method does not support merchant-initiated payments.
Fix
Use a method on a rail that supports them. Ask the customer to add one.

Returned by: integration.v1.createPayment

RCR-055

HTTP status: 422 · The mandate limit does not allow this charge.

Cause
The mandate limit does not allow this charge.
Fix
Lower the amount to fit the mandate. Or ask the customer to approve a higher limit.

Returned by: integration.v1.createPayment

RCR-056

HTTP status: 422 · The retry limit for this merchant-initiated payment has been reached.

Cause
The retry limit for this payment was reached.
Fix
Stop retrying this payment. Ask the customer to use another payment method.

Returned by: integration.v1.createPayment

RCR-057

HTTP status: 422 · The payment method's usage does not match this payment.

Cause
The usage set for the payment method does not match this payment.
Fix
Use a method saved for this kind of payment. Ask the customer to save a new one if needed.

Returned by: integration.v1.createPayment

RCR-059

HTTP status: 422 · The card token's scope does not allow this payment.

Cause
The scope of the card token does not allow this payment.
Fix
Use a token saved for this kind of payment. Ask the customer to save a new one.

Returned by: integration.v1.createPayment

RCR-101

HTTP status: 404 · The billing plan was not found.

Cause
No billing plan with this id exists for your merchant.
Fix
Check the plan id. List plans to find the right one.

Returned by: integration.billingPlans.archive, integration.billingPlans.get, integration.billingPlans.update, integration.subscriptions.create, integration.subscriptions.get, integration.subscriptions.update

RCR-102

HTTP status: 422 · The billing plan request body is not valid.

Cause
The billing plan request body is not valid.
Fix
Read the error details to find the field. Correct it and send the request again.

Returned by: integration.billingPlans.create, integration.billingPlans.update

RCR-103

HTTP status: 422 · The billing plan is archived and cannot be used.

Cause
The billing plan is archived and cannot be used for new subscriptions.
Fix
Choose an active plan. Create a new plan if you need the same terms.

Returned by: integration.subscriptions.create, integration.subscriptions.update

RCR-110

HTTP status: 404 · The subscription was not found.

Cause
No subscription with this id exists for your merchant.
Fix
Check the subscription id. List subscriptions to find the right one.

Returned by: integration.subscriptions.cancel, integration.subscriptions.create, integration.subscriptions.get, integration.subscriptions.listCycles, integration.subscriptions.pause, integration.subscriptions.resume, integration.subscriptions.update

RCR-111

HTTP status: 422 · The subscription request is not valid.

Cause
The subscription request is not valid.
Fix
Read the error details to find the field. Correct it and send the request again.

Returned by: integration.subscriptions.cancel, integration.subscriptions.create, integration.subscriptions.update

RCR-112

HTTP status: 422 · The payment method cannot be used for recurring payments.

Cause
The payment method cannot be used for recurring payments.
Fix
Choose a method that supports recurring payments. Ask the customer to add one.

Returned by: integration.subscriptions.create, integration.subscriptions.update

RCR-113

HTTP status: 422 · The payment method's mandate is not compatible with this subscription.

Cause
The mandate of the payment method does not fit this subscription.
Fix
Ask the customer to approve a mandate that covers the plan amount and period.

Returned by: integration.subscriptions.create, integration.subscriptions.update

RCR-118

HTTP status: 422 · A subscription without a payment method needs a customer email or an active payer link.

Cause
The subscription has no payment method, and the customer has no email or active payer link.
Fix
Add an email to the customer or create a payer link first. Or create the subscription with a payment method.
See
/guides/customers-recurring

Returned by: integration.subscriptions.create

Customer-presented codes and terminals

POS-001

HTTP status: 401 · The POS client id or client secret is invalid.

Cause
The POS client id or client secret is wrong.
Fix
Check the client id and client secret that TapPay issued for your POS. Request a new token with the correct values.
See
/reference/pos/auth/token

Returned by: pos.auth.token

POS-002

HTTP status: 401 · The POS access token is missing, invalid or expired.

Cause
The POS access token is missing, wrong or expired.
Fix
Request a new token and send it in the Authorization header as a Bearer token. The SDK PosClient renews the token for you.
See
/reference/pos/auth/token

Returned by: pos.bankTerminals.list, pos.bankTerminals.sync, pos.payments.cpm, pos.payments.get, pos.payments.qr, pos.payments.refund, pos.payments.updateAmount, pos.sandbox.createTerminalRequest, pos.sandbox.simulate, pos.sandbox.simulateTerminalRequest +8 more

POS-003

HTTP status: 401 · The POS API key is invalid or revoked.

Cause
The POS API key is wrong or was revoked.
Fix
Send the active POS API key in the X-API-Key header. Ask TapPay support for a new key if it was revoked.
See
/reference/pos/auth/token

Returned by: pos.bankTerminals.list, pos.bankTerminals.sync, pos.payments.cpm, pos.payments.get, pos.payments.qr, pos.payments.refund, pos.payments.updateAmount, pos.sandbox.createTerminalRequest, pos.sandbox.simulate, pos.sandbox.simulateTerminalRequest +8 more

POS-004

HTTP status: 401 · The request timestamp is outside the allowed time window.

Cause
The request timestamp is too far from the server time.
Fix
Sync the clock of your POS server. Sign each request with the current time just before you send it.
See
/reference/pos/auth/token

Returned by: pos.bankTerminals.list, pos.bankTerminals.sync, pos.payments.cpm, pos.payments.get, pos.payments.qr, pos.payments.refund, pos.payments.updateAmount, pos.sandbox.createTerminalRequest, pos.sandbox.simulate, pos.sandbox.simulateTerminalRequest +8 more

POS-005

HTTP status: 401 · The request signature is invalid.

Cause
The request signature does not match the request.
Fix
Sign the method, path, timestamp and raw body with your POS signing secret. The SDK PosClient signs each request for you.
See
/reference/pos/auth/token

Returned by: pos.bankTerminals.list, pos.bankTerminals.sync, pos.payments.cpm, pos.payments.get, pos.payments.qr, pos.payments.refund, pos.payments.updateAmount, pos.sandbox.createTerminalRequest, pos.sandbox.simulate, pos.sandbox.simulateTerminalRequest +8 more

POS-006

HTTP status: 401 · This request signature was already used.

Cause
This request signature was already used once.
Fix
Sign every request again with a new timestamp. Do not resend a signed request without signing it again.
See
/reference/pos/auth/token

Returned by: pos.bankTerminals.list, pos.bankTerminals.sync, pos.payments.cpm, pos.payments.get, pos.payments.qr, pos.payments.refund, pos.payments.updateAmount, pos.sandbox.createTerminalRequest, pos.sandbox.simulate, pos.sandbox.simulateTerminalRequest +8 more

POS-007

HTTP status: 401 · A client certificate is required for this request.

Cause
This POS client must send a client certificate, and none was sent.
Fix
Send the request over TLS with the client certificate issued for your POS. Ask TapPay support if you have no certificate.
See
/guides/pos-terminal

Returned by: pos.bankTerminals.list, pos.bankTerminals.sync, pos.payments.cpm, pos.payments.get, pos.payments.qr, pos.payments.refund, pos.payments.updateAmount, pos.sandbox.createTerminalRequest, pos.sandbox.simulate, pos.sandbox.simulateTerminalRequest +8 more

POS-016

HTTP status: 404 · The POS payment was not found.

Cause
No POS payment with this id exists for your POS client.
Fix
Check the payment id. Use the POS client that created the payment.
See
/reference/pos/payments/get

Returned by: pos.payments.get, pos.payments.refund, pos.payments.updateAmount, pos.sandbox.simulate

POS-017

HTTP status: 409 · The POS payment cannot be refunded in its current state.

Cause
The POS payment is not paid, or it was already refunded, so it cannot be refunded now.
Fix
Read the payment to check its status. Refund only a paid payment, and only once.
See
/reference/pos/payments/refund

Returned by: pos.payments.refund

POS-031

HTTP status: 422 · The payment kind in the customer-presented code is not available.

Cause
The payment kind in the customer code is not available for your merchant.
Fix
Accept only the kinds that are enabled for you. Ask the customer to use another method.

Returned by: integration.cpm.create

POS-032

HTTP status: 422 · Alipay customer-presented codes are not supported.

Cause
Alipay customer codes are not supported.
Fix
Ask the customer to pay with another method.

Returned by: integration.cpm.create

POS-033

HTTP status: 422 · The customer-presented code format is not recognized.

Cause
TapPay does not recognize the format of the customer code.
Fix
Scan the code again. Send the value exactly as it was read.

Returned by: integration.cpm.create

POS-058

HTTP status: 422 · This terminal setting is read-only.

Cause
This terminal setting is read-only.
Fix
Do not send this setting. Contact TapPay support if it must change.

Returned by: integration.split.createBeneficiary, integration.split.putRules

POS-080

HTTP status: 404 · The bank terminal was not found.

Cause
No bank terminal with this id exists for your merchant.
Fix
List the bank terminals. Use an id from the list.
See
/guides/terminal-payments

Returned by: integration.terminalPayments.create, pos.sandbox.createTerminalRequest

POS-081

HTTP status: 422 · The bank terminal link is not active.

Cause
The link of the bank terminal is not active.
Fix
Use a bank terminal with an active link. Check the link status in the bank terminal list.
See
/guides/terminal-payments

Returned by: integration.terminalPayments.create, pos.sandbox.createTerminalRequest

POS-082

HTTP status: 409 · The terminal already has an open payment request.

Cause
The terminal already has an open payment request.
Fix
Wait for the open request to finish, or cancel it. Then send the new request.
See
/guides/terminal-payments

Returned by: integration.terminalPayments.create, pos.sandbox.createTerminalRequest

POS-083

HTTP status: 404 · The terminal payment request was not found.

Cause
No terminal payment request with this id exists.
Fix
Check the request id. Use the credential that created the request.
See
/guides/terminal-payments

Returned by: integration.terminalPayments.cancel, integration.terminalPayments.get, pos.sandbox.simulateTerminalRequest, pos.terminalRequests.cancel, pos.terminalRequests.cardResult, pos.terminalRequests.cardStarted, pos.terminalRequests.cardVoided, pos.terminalRequests.delivered, pos.terminalRequests.get, pos.terminalRequests.undeliverable

POS-084

HTTP status: 409 · The terminal payment request cannot change in its current state.

Cause
The terminal payment request cannot change in its current status.
Fix
Read the request to see its status. Send only the actions that the status allows.
See
/guides/terminal-payments

Returned by: integration.terminalPayments.cancel, pos.sandbox.simulateTerminalRequest, pos.terminalRequests.cancel, pos.terminalRequests.cardResult, pos.terminalRequests.cardStarted, pos.terminalRequests.cardVoided, pos.terminalRequests.delivered, pos.terminalRequests.undeliverable

POS-085

HTTP status: 409 · The QR is locked by a wallet payment in progress; do not start the card payment.

Cause
The customer is paying the QR with a wallet, so the QR is locked.
Fix
Do not start the card payment. Wait for the result of the wallet payment.
See
/guides/terminal-payments

Returned by: pos.sandbox.simulateTerminalRequest, pos.terminalRequests.cardStarted

POS-086

HTTP status: 409 · A card payment is in progress on the terminal; the request cannot be cancelled now.

Cause
A card payment is in progress on the terminal, so the request cannot be cancelled now.
Fix
Wait for the result of the card payment. Read the request before you try again.
See
/guides/terminal-payments

Returned by: integration.terminalPayments.cancel

POS-087

HTTP status: 409 · The terminal payment request is already paid.

Cause
The terminal payment request is already paid.
Fix
Do not charge the card again. Read the request to get the payment.
See
/guides/terminal-payments

Returned by: pos.sandbox.simulateTerminalRequest, pos.terminalRequests.cardResult, pos.terminalRequests.cardStarted

POS-088

HTTP status: 409 · The terminal payment request is already closed.

Cause
The terminal payment request is already closed.
Fix
Do not start a card payment for this request. The merchant creates a new request if the customer still needs to pay.
See
/guides/terminal-payments

Returned by: pos.sandbox.simulateTerminalRequest, pos.terminalRequests.cardResult, pos.terminalRequests.cardStarted

POS-089

HTTP status: 422 · The amount does not match the terminal payment request.

Cause
The card amount does not match the amount of the terminal payment request.
Fix
Charge exactly the requested amount. Send the result with that amount.
See
/guides/terminal-payments

Returned by: pos.terminalRequests.cardResult

POS-090

HTTP status: 422 · Too many terminals in one sync request (at most 1,000).

Cause
The sync request has more than 1,000 terminals.
Fix
Split the terminals into batches of at most 1,000. Send one sync request per batch.
See
/guides/terminal-payments

Returned by: pos.bankTerminals.sync

POS-091

HTTP status: 403 · The terminal push flow is not enabled for this POS client.

Cause
The terminal push flow is not enabled for this POS client.
Fix
Contact TapPay support to enable the terminal push flow.
See
/guides/terminal-payments

Returned by: integration.terminalPayments.create, pos.bankTerminals.list, pos.bankTerminals.sync, pos.payments.cpm, pos.payments.get, pos.payments.qr, pos.payments.refund, pos.payments.updateAmount, pos.sandbox.createTerminalRequest, pos.sandbox.simulate +9 more

POS-093

HTTP status: 422 · The terminal or payment point for this POS machine was not found or is inactive. Choose an active terminal.

Cause
The bank terminal link needs an active payment point.
Fix
Assign an active payment point to the bank terminal. Then send the request again.
See
/guides/terminal-payments

Returned by: integration.terminalPayments.create, pos.sandbox.createTerminalRequest

Wallet and disputes

WAL-051

HTTP status: 422 · The card token is temporarily blocked after repeated declines.

Cause
This card was declined too many times in a short period and is blocked for now.
Fix
Ask the customer to use another card or payment method. They can try again after 24 hours.

Returned by: integration.cpm.create

WAL-093

HTTP status: 404 · The dispute was not found.

Cause
No dispute with this id exists for your merchant or for the terminals your key can see.
Fix
Check the dispute id. Use the objectId of the dispute event.

Returned by: integration.disputes.retrieve

Foreign switch

FSW-023

HTTP status: 409 · The operation cannot proceed because the funding account is missing.

Cause
The operation needs a funding account, but none is set up.
Fix
Contact TapPay support to set up the funding account. Retry after it is set up.

Returned by: integration.refunds.create, integration.v1.finalizePayment

Provider setup

PSP-003

HTTP status: 422 · The provider terminal required for this payment is not configured.

Cause
The provider terminal that this payment needs is not set up.
Fix
Contact TapPay support to finish the terminal setup. Retry after it is done.

Returned by: public.checkout.getEmbeddedSession, public.checkout.presentEmbeddedSession, public.checkout.simulateEmbeddedSession

Payer links and service setup

LNK-001

HTTP status: 404 · The payer link was not found.

Cause
No payer link with this id exists for your merchant.
Fix
Check the payer link id. Create a new link if needed.

Returned by: integration.payerLinks.get, integration.payerLinks.revoke

LNK-021

HTTP status: 404 · The request-to-pay was not found.

Cause
No request-to-pay with this id exists for your merchant.
Fix
Check the request id. Create a new request if needed.

Returned by: integration.r2pRequests.get, integration.r2pRequests.listByIntent

SVC-044

HTTP status: 422 · The merchant service configuration is not valid.

Cause
The service setup of the merchant is not valid.
Fix
Contact TapPay support to correct the service setup. Retry after it is fixed.

Returned by: integration.cpm.create, integration.v1.createPayment

Pre-authorization

PRE-002

HTTP status: 422 · A field in the request is not allowed for pre-authorization payments.

Cause
A field in the request is not allowed for pre-authorization payments.
Fix
Remove the field named in the error details. Send the request again.

Returned by: integration.checkout.createSession, integration.cpm.create, integration.v1.createPayment

PRE-005

HTTP status: 409 · The payment is not a pre-authorization.

Cause
The payment is not a pre-authorization, so it cannot be finalized.
Fix
Finalize only payments created as pre-authorizations.

Returned by: integration.v1.autoFinalizePayment, integration.v1.finalizePayment, integration.v1.simulateIntent, public.checkout.simulateEmbeddedSession

PRE-006

HTTP status: 409 · The pre-authorization was already finalized.

Cause
The pre-authorization was already finalized.
Fix
Read the payment to confirm its status. Do not finalize it again.
See
/concepts/statuses

Returned by: integration.v1.autoFinalizePayment, integration.v1.finalizePayment

PRE-007

HTTP status: 409 · The pre-authorization has expired and can no longer be finalized.

Cause
The pre-authorization has expired, so it can no longer be finalized.
Fix
Create a new pre-authorization. Finalize it before it expires.

Returned by: integration.v1.autoFinalizePayment, integration.v1.finalizePayment

PRE-008

HTTP status: 422 · The finalize amount is not valid.

Cause
The finalize amount is not valid. It may be zero or above the authorized amount.
Fix
Send an amount above zero and not above the authorized amount.

Returned by: integration.v1.autoFinalizePayment, integration.v1.finalizePayment

PRE-009

HTTP status: 409 · A finalize for this pre-authorization is already in progress.

Cause
A finalize for this pre-authorization is already running.
Fix
Wait a few seconds. Read the payment to see the result.
See
/concepts/idempotency

Returned by: integration.v1.autoFinalizePayment, integration.v1.finalizePayment

PRE-010

HTTP status: 409 · The pre-authorization capture failed.

Cause
The capture of the pre-authorization failed.
Fix
Read the payment for the failure reason. Retry the finalize if the reason allows it.

Returned by: integration.v1.autoFinalizePayment, integration.v1.finalizePayment

PRE-011

HTTP status: 409 · The pre-authorization has not been finalized yet.

Cause
The pre-authorization has not been finalized yet.
Fix
Finalize the pre-authorization first. Then repeat the request.

Returned by: integration.refunds.create, integration.v1.finalizePayment

PRE-014

HTTP status: 422 · The authorization type is not allowed for this payment.

Cause
The authorization type is not allowed for this payment.
Fix
Use a authorization type that the payment allows. Check the reference for the allowed values.

Returned by: integration.checkout.createSession, integration.cpm.create, integration.v1.createPayment

PRE-015

HTTP status: 409 · The payment is authorized and waiting for capture, so it cannot be cancelled.

Cause
The payment is authorized and waits for capture, so it cannot be cancelled.
Fix
Finalize the payment, then refund it. Or let the authorization expire.

Returned by: integration.v1.cancelIntent, integration.v1.cancelInvoice

Saved cards