Errors
The error body, error types and codes, the param field, request ids, retries and the live error catalog.
Paycose answers a failed request with an HTTP status and a JSON error body. A
4xx status means the request cannot succeed as sent; a 5xx status means
something failed on Paycose's side. The body tells you why.
The error body
The error is nested under error. This refund was sent with "amount": 0:
{
"error": {
"type": "invalid_request_error",
"code": "validation.failed",
"message": "amount must satisfy gt=0",
"param": "amount",
"request_id": "6f1c2a9e-4b7d-4c1e-9a53-2d8e7b0f4c11",
"doc_url": "https://docs.paycose.com/en/docs/setup/errors#validation.failed"
}
}| Field | Description |
|---|---|
type | The kind of error. Branch on it first; see Error types. |
code | A stable string naming the error, such as validation.failed or charge.card.declined. |
message | A human-readable English explanation. It can change; don't parse it. |
param | The request field, header or query parameter the error is about, when there is one. |
request_id | The id of your request. Quote it when you contact support. |
doc_url | A link to the code's row in All codes. |
provider | The payment provider that refused the request, when one did. |
provider_code | That provider's own code, when it sent one: the issuer's decline code when the provider gave one, else its error code. A declined charge's failure_provider_code holds the same value. |
Error types
type | HTTP status | What happened | What to do |
|---|---|---|---|
invalid_request_error | Any other 4xx | The request is invalid: a bad field, an unknown id, a state that doesn't allow the action. | Fix the request. Sending it again unchanged fails the same way. |
authentication_error | 401 | The secret key is missing, invalid or no longer active. | Check the key. See Authentication. |
permission_error | 403 | The key may not do this: a missing permission, live mode before verification, or a Dashboard-only action. | Grant the permission, finish verification, or use the Dashboard. |
card_error | 402 | The payer's card was declined or held for fraud review. Codes start with charge.card. or charge.fraud.. | Tell the payer and ask for another payment method. |
idempotency_error | 409 | The Idempotency-Key was used for a different request, or its first request is still running. | See Idempotency. |
rate_limit_error | 429 | Too many requests. | Wait for the Retry-After seconds, then retry. |
api_error | 5xx | Paycose failed to handle the request. | Retry with backoff, using the same Idempotency-Key. |
Codes
Each error has a stable string code, such as charge.card.declined, which is
what an error body carries. The tables below and the
error catalog also give each code a number, such as
E4150.
Branch on the code, never on message. Codes you are likely to meet:
| Code | Number | HTTP | Meaning |
|---|---|---|---|
validation.body.invalid | E1100 | 400 | The body is not valid JSON or does not match the expected shape. |
validation.failed | E1101 | 400 | A field failed validation or, under 2026-11-01, is not one the endpoint takes; param names it. |
validation.query.invalid | E1102 | 400 | A query parameter is invalid, such as page. |
validation.api_version.invalid | E1106 | 400 | Paycose-Version names a version other than 2026-11-01. |
expand.depth.exceeded | E1110 | 400 | An expand[] path is deeper than four levels. |
expand.segment.invalid | E1111 | 400 | An expand[] path is malformed or cannot be expanded here. |
pagination.unsupported_input | E1112 | 400 | The list does not support a filter, sort or search you sent. |
auth.secret.invalid | E1211 | 401 | The key is invalid, rolled or deactivated. |
auth.missing.headers | E1213 | 401 | The Authorization header is missing. |
authz.forbidden | E1300 | 403 | The key's permissions do not cover this endpoint. |
authz.kyb.not_verified | E1304 | 403 | Live mode needs a verified account. |
authz.secret_key_route.forbidden | E1307 | 403 | The endpoint is Dashboard-only or payer-only. |
conflict.idempotency_replay | E1401 | 409 | The Idempotency-Key was already used for a different request. |
conflict.idempotency_in_progress | E1405 | 409 | The first request with this Idempotency-Key is still running. |
auth.tenant.throttled | E1226 | 429 | Your account is sending more requests than it may at once. |
charge.card.declined | E4150 | 402 | The card was declined. |
charge.card.insufficient_funds | E4153 | 402 | The card has insufficient funds. |
internal.server_error | E1000 | 500 | An unexpected error. |
internal.unavailable | E1002 | 503 | The service is briefly unavailable. |
internal.timeout | E1003 | 504 | The operation timed out. |
Which field: param
param names what the error is about, spelled as you sent it:
- a body field as its JSON path:
amount, ortax_ids[0].typefor thetypeof the first entry intax_ids; - a header:
Paycose-VersionorIdempotency-Key; - a query parameter:
pageorexpand[].
When several body fields fail validation, param names the first one and
message lists them all, separated by ; .
Under 2026-11-01, unknown fields are rejected: a JSON body field the endpoint
does not take is a validation.failed error naming the first such field, so a
misspelled field fails loudly instead of being ignored. Keys inside metadata
are yours and are never checked.
{
"error": {
"type": "invalid_request_error",
"code": "validation.failed",
"message": "Received unknown parameter: line_items[0].quantiy.",
"param": "line_items[0].quantiy"
}
}An email address, such as a customer's email, a payment intent's
receipt_email or a payment link's recipient_email, must be one mail can be
sent to: at most 64 characters before the @ and 254 in all. A longer one is a
validation.failed error naming the field, with a message such as
email must have at most 64 characters before the @.
Request ids
Most errors carry a request_id, and responses carry the same id in the
X-Request-ID header. Log it with the failure; support can find your request
from it.
Retrying
429responses carry aRetry-Afterheader with the number of seconds to wait.503(E1002) and504(E1003) responses carryRetry-After: 5.- Retry other
5xxresponses and network errors with exponential backoff. - Send the same
Idempotency-Keyon every retry of aPOST, so the action happens once. See Idempotency. - Don't retry
4xxresponses unchanged.
For 5xx responses the message is a generic text; the details stay in
Paycose's logs under the request_id.
The error catalog
GET /errors/catalog lists every error code. It needs no key:
curl "$WALLET/errors/catalog"{
"object": "errors_catalog",
"count": 815,
"entries": [
{
"code": 4150,
"key": "E4150",
"i18n_key": "charge.card.declined",
"message": "The card was declined by the issuer. Try a different card, or contact your bank.",
"http_status": 402,
"severity": "warn",
"type": "card_error"
}
]
}An entry's i18n_key is the string an error carries as code; the entry's
code and key are the code's number. Match an error to its entry by
i18n_key. New codes are added as features ship, so read the catalog rather
than copying it into your code.
All codes
Every code the API can return, grouped by area. An error's doc_url opens its row on this page. The meanings shown are the English default messages.
internal
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
internal.server_error | E1000 | 500 | api_error | An unexpected internal error occurred. Please retry; contact support if this persists. |
internal.not_implemented | E1001 | 501 | api_error | This endpoint is not yet implemented. Check the API reference for available routes. |
internal.unavailable | E1002 | 503 | api_error | The service is temporarily unavailable. Please try again shortly. |
internal.timeout | E1003 | 504 | api_error | The operation timed out. Try again; if this persists, check upstream health. |
internal.context.missing | E1004 | 500 | api_error | A required request context is missing. Verify the middleware configuration. |
internal.connector_rejected | E1005 | 502 | api_error | The payment connector rejected this request. |
internal.factory_reset_refused | E1811 | 403 | permission_error | factory reset refused: {reason} |
rest
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
rest.kratos_identity_carries_no_email_trait | E1006 | 401 | authentication_error | kratos identity carries no email trait |
rest.select_an_application_before_calling_this | E1007 | 400 | invalid_request_error | Select an application before calling this endpoint: this session has none selected. |
rest.system_cannot_verify_webhook_credential_in_this | E1008 | 401 | authentication_error | System cannot verify webhook credential in this request |
rest.this_action_needs_the_merchant_s_own | E1009 | 403 | permission_error | This action needs the merchant's own two-factor confirmation, so it cannot be done while impersonating. |
rest.this_endpoint_serves_the_payer_s_checkout | E1010 | 403 | permission_error | This endpoint serves the payer's checkout session and cannot be called with a secret key. |
rest.your_admin_role_cannot_reveal_api_keys | E1011 | 403 | permission_error | Your admin role cannot reveal API keys or move money, so this action cannot be done while impersonating. |
rest.idempotency_key_is_longer_than_255_characters | E1999 | 400 | invalid_request_error | Idempotency-Key is longer than 255 characters. |
rest.key_of_another_application | E2456 | 400 | invalid_request_error | This request names application {application} ({country}), but this API key belongs to {name}. Use a key of application {application}. |
rest.key_scoped_to_another_country | E2457 | 400 | invalid_request_error | This request names {name} ({country}), but this API key is scoped to {scoped_country} by its X-Country header. Send X-Country: {country}. |
rest.session_on_another_application | E2458 | 400 | invalid_request_error | This request names application {application} ({country}), but the session has {name} ({scoped_country}) selected. Select that application and {country} first. |
rest.session_on_another_country | E2459 | 400 | invalid_request_error | This request names {name} ({country}), but the session has {scoped_country} selected. Select {country} first. |
role
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
role.custom_role_cannot_exceed_owner_level | E1012 | 400 | invalid_request_error | custom role cannot exceed owner level: {bad} |
role.required_application_id | E1013 | 400 | invalid_request_error | required application id |
role.retrieve.failed | E3320 | 500 | api_error | We couldn't load this role. Check the id and try again. |
role.of_user.retrieve.failed | E3321 | 500 | api_error | We couldn't load this role of user. Check the id and try again. |
role.assign.failed | E3322 | 500 | api_error | role to user could not be assigned. Verify the inputs and try again. |
role.system.immutable | E3323 | 403 | permission_error | System roles are immutable and cannot be modified or deleted. |
role.not_found | E3324 | 404 | invalid_request_error | The requested role could not be found. Check the id and try again. |
role.create.failed | E3325 | 500 | api_error | The role could not be created. Verify the request body and try again. |
role.update.failed | E3326 | 500 | api_error | The role could not be updated. Verify the request and try again. |
role.delete.failed | E3327 | 500 | api_error | The role could not be deleted. Try again shortly, or contact support if the issue persists. |
role.list.failed | E3328 | 500 | api_error | We couldn't load the list of roles. Try again shortly. |
role.cannot_delete_system_role | E3573 | 403 | permission_error | cannot delete system role: {id} |
role.cannot_update_permissions_for_system_role | E3574 | 403 | permission_error | cannot update permissions for system role: {id} |
role.cannot_update_system_role | E3575 | 403 | permission_error | cannot update system role: {id} |
role.role_not_found | E3576 | 404 | invalid_request_error | role not found: {id} |
service_account
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
service_account.an_api_key_cannot_hold_more_than | E1014 | 403 | permission_error | An API key cannot hold more than your own role: group {group_id} asks for {level}, your role has {held}. |
service_account.this_service_account_s_keys_were_rolled | E1015 | 409 | invalid_request_error | This service account's keys were rolled by another request. Reload it and try again. |
service_account.create.failed | E3300 | 500 | api_error | The service account could not be created. Verify the request body and try again. |
service_account.update.failed | E3301 | 500 | api_error | The service account could not be updated. Verify the request and try again. |
service_account.delete.failed | E3302 | 500 | api_error | The service account could not be deleted. |
service_account.retrieve.failed | E3303 | 500 | api_error | We couldn't load this service account. Check the id and try again. |
service_account.list.failed | E3304 | 500 | api_error | We couldn't load the list of service accounts. Try again shortly. |
service_account.not_found | E3305 | 404 | invalid_request_error | The requested service account could not be found. Check the id and try again. |
service_account.roll_key.failed | E3306 | 500 | api_error | service account key could not be rolled. Try again shortly. |
service_account.permission.update.failed | E3307 | 500 | api_error | The service account permissions could not be updated. Verify the request and try again. |
service_account.permission.list.failed | E3308 | 500 | api_error | We couldn't load the list of service account permissions. Try again shortly. |
service_account.permission.user_direct.forbidden | E3309 | 400 | invalid_request_error | The user service account permissions directly could not be updated. Verify the request and try again. |
service_account.none_in_app | E3310 | 404 | invalid_request_error | No service account exists in the application |
service_account.secret.create.failed | E3311 | 500 | api_error | The client secret could not be created. Verify the request body and try again. |
service_account.secret.content_type.unsupported | E3312 | 400 | invalid_request_error | The client secret content type is not supported. Use a supported type and retry. |
service_account.default_machine.conflict | E3340 | 409 | invalid_request_error | A default machine service account already exists for this IAM account. Remove the existing default before creating a new one, or reuse the existing account. |
settlement_policy
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
settlement_policy.a_settlement_delay_must_name_a_connector | E1016 | 400 | invalid_request_error | A settlement delay must name a connector. |
settlement_policy.a_settlement_delay_of_0_releases_funds | E1017 | 400 | invalid_request_error | A settlement delay of 0 releases funds the moment a charge is captured, which skips reconciliation entirely: the credit never becomes a hold and the release gate never sees it. If that rail really is instant, declare it in the connector manifest instead. |
settlement_policy.settlement_delay_days_must_be_between_0 | E1018 | 400 | invalid_request_error | Settlement delay days must be between 0 and 90. |
settlement_policy.settlement_delays_are_a_central_setting_and | E1019 | 400 | invalid_request_error | Settlement delays are a central setting and cannot be scoped to an application or country. |
shipping_rate
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
shipping_rate.amount_must_be_non_negative | E1020 | 400 | invalid_request_error | amount must be non-negative |
shipping_rate.display_name_is_required | E1022 | 400 | invalid_request_error | display_name is required |
shipping_rate.only_type_fixed_amount_is_supported | E1023 | 400 | invalid_request_error | only type=fixed_amount is supported |
shipping_rate.tax_behavior_must_be_inclusive_exclusive | E1024 | 400 | invalid_request_error | tax_behavior must be inclusive | exclusive | unspecified |
shipping_rate.not_found | E5450 | 404 | invalid_request_error | The requested shipping rate could not be found. Check the id and try again. |
slip_verification
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
slip_verification.status_must_be_one_of_pending_verified | E1025 | 400 | invalid_request_error | status must be one of pending, verified, needs_review, approved, rejected, duplicate. |
stripe
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
stripe.message | E1026 | 400 | invalid_request_error | {prefix}: {reason} |
stripe.return_url_is_required_for_a_payment | E1027 | 400 | invalid_request_error | return_url is required for a {method} payment: the payer leaves to pay and must be able to come back. |
stripe.the_payer_s_email_is_required_for | E1028 | 400 | invalid_request_error | The payer's email is required for a {method} payment. Collect it before paying. |
stripe.the_price_tiers_do_not_decode | E1029 | 400 | invalid_request_error | the price tiers do not decode: {reason} |
stripe.this_payment_belongs_to_stripe_invoice_and | E1030 | 400 | invalid_request_error | This payment belongs to Stripe invoice {invoice_id}, and Stripe cancels it only by voiding that invoice: void the invoice instead. |
stripe.payment_already_succeeded_at_stripe_so_it | E4272 | 409 | invalid_request_error | Payment {id} already succeeded at Stripe, so it cannot be voided: refund it instead. |
subscription
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
subscription.collection_method_is_not_supported_for_payment | E1031 | 400 | invalid_request_error | collection_method="{collection_method_charge_automatically}" is not supported for payment_method.type="{default_payment_method_type}", which cannot be charged off-session; use collection_method="{collection_method_send_invoice}". |
subscription.collection_method_requires_every_payment_method | E1032 | 400 | invalid_request_error | collection_method="{collection_method_charge_automatically}" requires every payment_method_types entry to support off-session billing; these do not: {not_off_session}. Remove them, or use collection_method="{collection_method_send_invoice}". |
subscription.start_on_in_the_future_is_not | E1035 | 400 | invalid_request_error | start_on in the future is not supported: a later start needs a subscription schedule, which is not offered. Omit start_on, or create the subscription on the start date; billing_cycle_anchor moves only the first renewal. |
subscription.start_on_in_the_past_is_not | E1036 | 400 | invalid_request_error | start_on in the past is not supported: backdating a subscription is not offered. Omit start_on; the subscription starts when it is created. |
subscription.not_found | E5100 | 404 | invalid_request_error | The requested subscription could not be found. Check the id and try again. |
subscription.create.failed | E5101 | 500 | api_error | The subscription could not be created. Verify the request body and try again. |
subscription.internal.create.failed | E5102 | 500 | api_error | The internal subscription could not be created. Verify the request body and try again. |
subscription.third_party.unprocessable | E5103 | 500 | api_error | Unable to process third-party subscription |
subscription.internal.unprocessable | E5104 | 500 | api_error | The internal subscription could not be processed. Try again shortly. |
subscription.cancel.failed | E5105 | 500 | api_error | The subscription could not be canceled. Check its current status, then retry. |
subscription.trial.failed | E5106 | 500 | api_error | trial subscription could not be started. Verify the input and try again. |
subscription.usage.failed | E5107 | 500 | api_error | usage on subscription could not be reported. Try again shortly. |
subscription.retrieve.failed | E5108 | 500 | api_error | We couldn't load this subscription. Check the id and try again. |
subscription.finite_state | E5109 | 409 | invalid_request_error | Subscription cannot transition from its current state |
subscription.trial.invalid | E5110 | 400 | invalid_request_error | Trial requires either trial_days > 0 or a valid trial_end_date |
subscription.item_type.immutable | E5111 | 400 | invalid_request_error | The subscription item type cannot be changed after creation. |
subscription.pause.failed | E5112 | 409 | invalid_request_error | The subscription could not be paused. Check its current status, then retry. |
subscription.resume.failed | E5113 | 409 | invalid_request_error | The subscription could not be resumed. Check its current status, then retry. |
subscription.activate.failed | E5114 | 409 | invalid_request_error | The subscription could not be activated. Check its current status, then retry. |
subscription.past_due.failed | E5115 | 409 | invalid_request_error | The subscription could not be marked past due. Check its current status, then retry. |
subscription.unpaid.failed | E5116 | 409 | invalid_request_error | The subscription could not be marked unpaid. Check its current status, then retry. |
subscription.increment.failed | E5117 | 500 | api_error | The subscription could not be incremented. Verify the inputs and try again. |
subscription.update.failed | E5118 | 500 | api_error | The subscription could not be updated. Verify the request and try again. |
subscription.list.failed | E5119 | 500 | api_error | We couldn't load the list of subscriptions. Try again shortly. |
subscription.already_ended | E5120 | 409 | invalid_request_error | This subscription has already ended and cannot be reactivated. Start a new one instead. |
subscription.not_canceling | E5121 | 409 | invalid_request_error | This subscription is not scheduled to cancel, so there is nothing to undo. |
subscription.reactivate.unsupported | E5122 | 422 | invalid_request_error | This connector cannot undo a scheduled cancellation. Cancel and create a new subscription instead. |
subscription.reactivate.failed | E5123 | 500 | api_error | The scheduled cancellation could not be undone. Check the subscription status, then retry. |
subscription.guest.unsupported | E5124 | 422 | invalid_request_error | This payment connector bills subscriptions on its own side and needs a customer. Pass customer_id, or switch the country to a connector that bills internally. |
subscription.upcoming_invoice.none | E5125 | 404 | invalid_request_error | This subscription has no upcoming invoice: it has ended, or it is canceled before its next renewal. |
subscription.trial.pause_send_invoice | E5126 | 400 | invalid_request_error | A trial can pause for a missing payment method only with collection_method=charge_automatically. Choose create_invoice or cancel, or charge automatically. |
subscription.recurring.invalid | E5160 | 400 | invalid_request_error | The recurring interval or count is invalid. Check the values and try again. |
subscription.cannot_change_item_type_existing_new | E5675 | 400 | invalid_request_error | cannot change item type: existing={old_type} new={new_type} |
subscription.cannot_update_items_missing_product_type_in | E5676 | 400 | invalid_request_error | cannot update items: missing product type in items |
subscription.cannot_update_items_subscription_has_no_existing | E5677 | 400 | invalid_request_error | cannot update items: subscription has no existing items to compare item type |
subscription.default_payment_method_id_is_not_supported | E5678 | 500 | api_error | default_payment_method.id is not supported for payment_method.type="{default_payment_method_type}"; this method cannot save a reusable instrument, so send only the type. |
subscription.subscription_is_not_active | E5679 | 409 | invalid_request_error | subscription is not active |
subscription.the_subscription_changed_while_this_update_was | E5680 | 409 | invalid_request_error | The subscription changed while this update was being applied. Retry the request. |
subscription.the_subscription_has_ended_and_cannot_become | E5681 | 409 | invalid_request_error | the subscription has ended ({current}) and cannot become {status} |
subscription.the_subscription_is_now_not | E5683 | 409 | invalid_request_error | the subscription is {current} now, not {expected_status} |
subscription.the_subscription_status_can_be_paused_only | E5684 | 409 | invalid_request_error | the subscription status can be paused only in the active or trialing state |
subscription.the_subscription_status_can_be_resumed_only | E5685 | 409 | invalid_request_error | the subscription status can be resumed only in the paused state |
subscription.the_subscription_status_can_be_set_to | E5686 | 409 | invalid_request_error | the subscription status can be set to past_due only from active or trialing state |
subscription.the_subscription_status_can_be_set_to_2 | E5687 | 409 | invalid_request_error | the subscription status can be set to unpaid only in the past_due state |
subscription.the_subscription_status_cannot_be_activated_from | E5688 | 409 | invalid_request_error | the subscription status cannot be activated from the current state |
common
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
common.params_is_required | E1039 | 400 | invalid_request_error | params is required |
common.send_an_idempotency_key_with_this_request | E1410 | 400 | invalid_request_error | Send an Idempotency-Key with this request: without one a retry or double submit is carried out twice. |
common.the_idempotency_key_is_too_long | E1412 | 400 | invalid_request_error | the idempotency key is too long |
common.a_bin_must_be_6_to_8 | E1414 | 400 | invalid_request_error | A BIN must be 6 to 8 digits. |
common.application_country_is_required | E1423 | 400 | invalid_request_error | application country is required |
common.application_is_already_suspended | E1426 | 400 | invalid_request_error | application is already suspended |
common.application_is_not_suspended | E1427 | 400 | invalid_request_error | application is not suspended |
common.field_is_not_declared_by_connector_setup | E1451 | 400 | invalid_request_error | field "{value}" is not declared by connector "{connector_name}" setup schema |
common.no_fields_to_update | E1469 | 400 | invalid_request_error | no fields to update |
common.connector_is_required | E1474 | 400 | invalid_request_error | connector is required |
common.step_is_locked_complete_step_first | E1479 | 400 | invalid_request_error | step "{step_param}" is locked - complete step "{id}" first |
common.name_is_required | E1500 | 400 | invalid_request_error | name is required. |
common.email_is_required | E1509 | 400 | invalid_request_error | email is required. |
common.amount_must_be_a_positive_integer | E1524 | 400 | invalid_request_error | amount must be a positive integer. |
common.file_is_required_attach_a_multipart_form | E1553 | 400 | invalid_request_error | file is required: attach a multipart form field named "file" |
common.no_price_for_product_create_a_price | E1585 | 400 | invalid_request_error | no price for product "{id}" — create a price first |
common.pass_days_until_due_or_due_date | E1588 | 400 | invalid_request_error | Pass days_until_due or due_date, not both. |
common.payment_method_is_required | E1649 | 400 | invalid_request_error | payment_method is required |
common.filter_status_neq_cannot_exclude_in_this | E1694 | 400 | invalid_request_error | filter[status][neq] cannot exclude {value}: in this API version it stands for more than one stored status. List the statuses to keep with filter[status][in] instead. |
common.invalid_allowed_origins_entry | E1695 | 400 | invalid_request_error | invalid allowed_origins entry: {pattern} |
common.invalid_allowed_origins_entry_wildcard_needs_at | E1696 | 400 | invalid_request_error | invalid allowed_origins entry (wildcard needs at least two host labels): {pattern} |
common.lists_are_paginated_with_starting_after_and | E1697 | 400 | invalid_request_error | Lists are paginated with starting_after and ending_before in this API version; page is not supported. |
common.message | E1698 | 400 | invalid_request_error | {prefix}{reason}. |
common.price_is_archived_documents_that_already_bill | E1699 | 400 | invalid_request_error | Price "{id}" is archived: documents that already bill it keep it, but a new line cannot use it. Use an active price, or restore this one with active=true. |
common.connector_is_not_one_this_payment_allows | E1700 | 400 | invalid_request_error | Connector "{connector}" is not one this payment allows; payment_method_connectors lists {allowed}. |
common.the_log_search_was_too_broad_for | E1701 | 503 | api_error | The log search was too broad for the log store right now. Narrow the search or the date range, then try again. |
common.token_is_required | E1807 | 400 | invalid_request_error | token is required |
common.collection_method_requires_every_payment_method | E1812 | 400 | invalid_request_error | collection_method="{collection_method_charge_automatically}" requires every payment method to support off-session billing; these do not: {unsupported}. Remove them, or use collection_method="{collection_method_send_invoice}". |
common.application_country_id_is_required | E1815 | 400 | invalid_request_error | application_country_id is required |
common.id_is_required | E1818 | 400 | invalid_request_error | id is required |
common.currency_is_required | E1937 | 400 | invalid_request_error | currency is required |
common.the_api_keys_waiting_for_this_account | E1952 | 409 | invalid_request_error | The API keys waiting for this account change have expired or were already used. Submit the keys again. |
common.no_such | E2428 | 400 | invalid_request_error | No such {kind}: "{id}". |
common.connector_most_characters | E2481 | 400 | invalid_request_error | connector must be at most {max_connector_length} characters |
common.name_most_characters | E2500 | 400 | invalid_request_error | name must be at most {max_name_length} characters |
common.cannot_create_promptpay_charge_promptpay_is | E4032 | 400 | invalid_request_error | Cannot create PromptPay charge: PromptPay is available in THB only. |
common.promptpay_charges_only_support_automatic_capture | E4033 | 400 | invalid_request_error | PromptPay charges only support automatic capture. Submit capture_method="automatic" and retry. |
common.cannot_create_mobile_banking_charge_customer_id | E4034 | 400 | invalid_request_error | Cannot create mobile banking charge: customer_id is required. |
common.cannot_create_mobile_banking_charge_thai_mobile | E4035 | 400 | invalid_request_error | Cannot create mobile banking charge: Thai mobile banking is available in THB only. |
common.card_charges_only_support_automatic_capture | E4952 | 400 | invalid_request_error | {display_name} card charges only support automatic capture. Submit capture_method="automatic" and retry. |
common.a_tax_rate_on_this_subscription_could | E5620 | 500 | api_error | A tax rate on this subscription could not be registered with the connector. |
common.the_subscription_is_already_canceled | E5635 | 409 | invalid_request_error | the subscription is already canceled |
common.this_invoice_already_has_a_discount_applied | E5637 | 409 | invalid_request_error | This invoice already has a discount applied. |
common.this_invoice_has_already_been_partly_paid | E5639 | 409 | invalid_request_error | This invoice has already been partly paid, so a promotion code can no longer be applied. |
common.this_promotion_code_would_reduce_the_amount | E5642 | 400 | invalid_request_error | This promotion code would reduce the amount due to zero. Contact the merchant to settle this invoice. |
common.that_coupon_can_no_longer_be_redeemed | E5658 | 400 | invalid_request_error | That coupon can no longer be redeemed. |
common.that_coupon_is_not_active | E5659 | 400 | invalid_request_error | That coupon is not active. |
common.connector_has_no_setup_schema | E8000 | 404 | invalid_request_error | connector "{connector_name}" has no setup schema |
common.connector_not_found | E8001 | 404 | invalid_request_error | connector not found |
common.settlement_delay_override_not_found | E8002 | 404 | invalid_request_error | Settlement delay override not found. |
common.step_not_found | E8003 | 404 | invalid_request_error | step "{step_param}" not found |
subscription_schedule
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
subscription_schedule.reference_id_is_required | E1040 | 400 | invalid_request_error | reference_id is required |
survey
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
survey.a_response_has_already_been_submitted_for | E1041 | 409 | invalid_request_error | A response has already been submitted for this survey. |
survey.already_participated_in_survey | E1042 | 409 | invalid_request_error | Already participated in survey "{survey_id}". |
survey.survey_already_exists | E1043 | 409 | invalid_request_error | survey "{id}" already exists. |
survey.survey_id_is_required | E1044 | 400 | invalid_request_error | survey id is required |
survey.survey_was_not_found | E2460 | 404 | invalid_request_error | survey "{survey_id}" was not found. |
survey.survey_was_not_found_2 | E2461 | 404 | invalid_request_error | survey "{id}" was not found. |
survey.survey_was_not_found_or_not_active | E2462 | 404 | invalid_request_error | survey "{survey_id}" was not found or not active. |
survey.required_question_not_answered | E2525 | 400 | invalid_request_error | required question {question_key} is not answered |
survey.unknown_question_id | E2526 | 400 | invalid_request_error | unknown question ID: {question_id} |
survey.expected_string_answer | E2540 | 400 | invalid_request_error | expected string answer |
survey.answer_too_short_min | E2541 | 400 | invalid_request_error | answer too short (min {min_length}) |
survey.answer_too_long_max | E2542 | 400 | invalid_request_error | answer too long (max {max_length}) |
survey.expected_string_answer_single_choice | E2543 | 400 | invalid_request_error | expected string answer for single_choice |
survey.answer_question_one_available_options | E2544 | 400 | invalid_request_error | answer for question {question_key} must be one of the available options |
survey.expected_array_answer_multiple_choice | E2545 | 400 | invalid_request_error | expected array answer for multiple_choice |
survey.expected_string_values_multiple_choice_array | E2546 | 400 | invalid_request_error | expected string values in multiple_choice array |
survey.invalid_option | E2547 | 400 | invalid_request_error | invalid option: {value} |
survey.expected_numeric_answer_rating | E2548 | 400 | invalid_request_error | expected numeric answer for rating |
survey.answer_question_between | E2549 | 400 | invalid_request_error | answer for question {question_key} must be between {min} and {max} |
survey.expected_boolean_answer | E2550 | 400 | invalid_request_error | expected boolean answer |
survey.update_failed | E8500 | 500 | api_error | The survey could not be updated. Verify the request body and try again. |
survey.delete_failed | E8501 | 500 | api_error | The survey could not be deleted. Try again shortly. |
survey.response.retrieve_failed | E8502 | 500 | api_error | We couldn't load this survey response. Check the id and try again. |
tax_id
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
tax_id.that_is_not_a_recognized_tax_id | E1046 | 400 | invalid_request_error | That is not a recognized tax ID type. Pick one from the list. |
tax_id.that_tax_id_does_not_look_right | E2463 | 400 | invalid_request_error | That tax ID does not look right for {code}. Expected something like {placeholder}. |
tax_id.that_tax_id_does_not_look_right_2 | E2464 | 400 | invalid_request_error | That tax ID does not look right for {code}. |
tax_id.not_found | E7100 | 404 | invalid_request_error | The requested tax ID could not be found. Check the id and try again. |
tax_id.create.failed | E7101 | 500 | api_error | The tax ID could not be created. Verify the request body and try again. |
tax_id.retrieve.failed | E7102 | 500 | api_error | We couldn't load this tax ID. Check the id and try again. |
tax_id.delete.failed | E7103 | 500 | api_error | The tax ID could not be deleted. Try again shortly, or contact support if the issue persists. |
tax_id.list.failed | E7104 | 500 | api_error | We couldn't load the list of tax IDs. Try again shortly. |
tax_id.update.failed | E7105 | 500 | api_error | The tax ID could not be updated. Verify the request and try again. |
tenant
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
tenant.does_not_support_central_webhook_subscriptions | E1047 | 400 | invalid_request_error | {connector} does not support central webhook subscriptions, so there is no webhook URL to pin |
tenant.connector_cannot_take_a_payment_here_name | E1048 | 400 | invalid_request_error | Connector "{requested}" cannot take a {method} payment here ({value}): name a connector that offers it, or leave {param_payment_method_connector} out. |
tenant.the_api_keys_waiting_for_this_account_2 | E1050 | 409 | invalid_request_error | The API keys waiting for this account change were staged for a different connector. Submit the keys again. |
tenant.role_not_found | E3577 | 404 | invalid_request_error | role not found: {role_id} |
tenant.the_webhook_token_must_be_1_128 | E3578 | 400 | invalid_request_error | The webhook token must be 1-128 characters using only letters, digits, and the characters . _ ~ - |
tenant.these_api_keys_belong_to_a_different | E3579 | 409 | invalid_request_error | These API keys belong to a different connector account than the one connected. Review what stays on the previous account, then resubmit with confirm_account_switch=true. |
tenant.branding_uploads_are_unavailable | E8070 | 400 | invalid_request_error | branding uploads are unavailable |
tenant.file_is_not_a_branding_upload | E8071 | 400 | invalid_request_error | file {file_id} is not a branding upload |
tenant.select_a_country_before_uploading_a_logo | E8072 | 400 | invalid_request_error | select a country before uploading a logo |
test_card
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
test_card.customer_id_is_required | E1051 | 400 | invalid_request_error | customer_id is required. |
test_card.scenario_is_required | E1052 | 400 | invalid_request_error | scenario is required. |
test_card.unsupported | E5612 | 409 | invalid_request_error | This connector has no test card for that behaviour, so it cannot be simulated here. |
test_card.does_not_support_saving_cards_on_this | E5689 | 409 | invalid_request_error | {connector} does not support saving cards on this server; its cards are entered in the connector's own form. |
test_card.no_card_connector_is_configured_for_this | E5690 | 409 | invalid_request_error | No card connector is configured for this country, so there is nothing to attach a test card to. |
test_card.publishes_no_test_card_for_so_that | E5691 | 409 | invalid_request_error | {connector} publishes no test card for "{scenario}", so that behavior cannot be reproduced on it. |
test_card.the_vault_is_not_wired_so_the | E5692 | 409 | invalid_request_error | The vault is not wired, so the simulator's test card cannot be stored. |
test_clock
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
test_clock.a_test_clock_can_advance_at_most | E1053 | 400 | invalid_request_error | A test clock can advance at most two billing intervals of its shortest subscription per step (up to {max_target}). Advance in smaller steps. |
test_clock.application_id_and_country_are_required | E1054 | 400 | invalid_request_error | application_id and country are required. |
test_clock.frozen_time_is_required | E1055 | 400 | invalid_request_error | frozen_time is required. |
test_clock.frozen_time_must_be_an_rfc3339_timestamp | E1056 | 400 | invalid_request_error | frozen_time must be an RFC3339 timestamp: {reason} |
test_clock.pass_test_clock_id_or_frozen_time | E1057 | 400 | invalid_request_error | Pass test_clock_id, or frozen_time as an RFC3339 timestamp for a new clock. |
test_clock.request_body_is_required | E1058 | 400 | invalid_request_error | Request body is required. |
test_clock.test_clock_id_and_subscription_id_are | E1059 | 400 | invalid_request_error | test_clock_id and subscription_id are required. |
test_clock.test_clock_id_is_required | E1060 | 400 | invalid_request_error | Test clock id is required. |
test_clock.this_is_available_in_test_mode_sandbox | E1061 | 403 | permission_error | This is available in test mode (sandbox) only. |
test_clock.unsupported_test_clock_connector | E1062 | 400 | invalid_request_error | Unsupported test clock connector "{connector}". |
test_clock.not_found | E5600 | 404 | invalid_request_error | The requested test clock could not be found. Check the id and try again. |
test_clock.not_ready | E5601 | 409 | invalid_request_error | This test clock is not ready. Reset it before advancing again. |
test_clock.target_not_after | E5602 | 400 | invalid_request_error | A test clock can only move forward. Choose a time after the clock's current time. |
test_clock.subscription.invalid | E5603 | 400 | invalid_request_error | That subscription could not be found in this account. Check the id and try again. |
test_clock.subscription.already_attached | E5604 | 409 | invalid_request_error | That subscription is already attached to a different test clock. Detach it first. |
test_clock.not_configured | E5605 | 500 | api_error | Test clocks are not configured on this server. Contact support. |
test_clock.advance.failed | E5606 | 500 | api_error | The test clock could not finish advancing. Reset it and try again. |
test_clock.subscription.not_attached | E5607 | 400 | invalid_request_error | That subscription is not attached to this test clock. |
test_clock.remote.create_failed | E5608 | 502 | api_error | The connector's test clock could not be created. Check the connector credentials for this country and try again. |
test_clock.subscription.connector_billed | E5609 | 409 | invalid_request_error | This subscription is billed by its connector, which keeps its own clock. Create the subscription on a connector test clock instead. |
test_clock.subscription.attach_unsupported | E5610 | 409 | invalid_request_error | This connector pins a test clock on the customer when the customer is created, so an existing subscription cannot be moved onto one. |
test_clock.connector.unsupported | E5611 | 409 | invalid_request_error | This connector bills subscriptions on its own side and does not offer a test clock, so time cannot be simulated for it. |
test_clock.subscription.already_simulated | E5613 | 409 | invalid_request_error | This subscription already has a simulated copy on a test clock. Delete that test clock to simulate it again. |
test_clock.subscription.detach_unsupported | E5614 | 409 | invalid_request_error | This connector pins the test clock on the customer when the customer is created, so this subscription stays on the clock. Delete the test clock to end the simulation; that removes it here and at the connector. |
test_clock.connector.remote_in_test_mode | E5615 | 400 | invalid_request_error | Test clocks run on the Paycose simulator in test mode, so a connector's own test clock cannot be used. Leave connector out, or set it to internal. |
testing
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
testing.failed_to_get_test_card | E1063 | 400 | invalid_request_error | failed to get test card |
testing.failed_to_get_test_card_2 | E1064 | 400 | invalid_request_error | failed to get test card "{sandbox_payment_method_id}" |
testing.failed_to_retrieve_charge | E1065 | 400 | invalid_request_error | failed to retrieve charge: {reason} |
testing.failed_to_retrieve_customer | E1066 | 400 | invalid_request_error | failed to retrieve customer |
testing.the_route_supports_only_omise_connector_card | E1067 | 400 | invalid_request_error | the route supports only omise connector (card routes to "{connector}") |
testing.the_route_supports_only_stripe_connector | E1068 | 400 | invalid_request_error | the route supports only stripe connector |
testing.the_route_supports_only_the_sandbox_simulator | E1069 | 400 | invalid_request_error | the route supports only the sandbox simulator (card routes to "{connector}") |
user
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
user.name_and_email_are_required | E1070 | 400 | invalid_request_error | name and email are required |
user.user_id_and_target_identity_are_required | E1071 | 400 | invalid_request_error | user id and target identity are required |
user.create.failed | E3200 | 500 | api_error | The user could not be created. Verify the request body and try again. |
user.retrieve.failed | E3201 | 500 | api_error | We couldn't load this user. Check the id and try again. |
user.update.failed | E3202 | 500 | api_error | The user could not be updated. Verify the request and try again. |
user.delete.failed | E3203 | 500 | api_error | The user could not be deleted. Try again shortly, or contact support if the issue persists. |
user.not_found | E3204 | 404 | invalid_request_error | The user was not found. Check the user ID and ensure it belongs to this application. |
user.banned | E3205 | 403 | permission_error | This user account has been suspended. Contact an administrator to restore access. |
user.ban.failed | E3206 | 500 | api_error | We couldn't ban user. Try again shortly, or contact support if the issue persists. |
user.unban.failed | E3207 | 500 | api_error | We couldn't unban user. Try again shortly, or contact support if the issue persists. |
user.email.already_used | E3208 | 409 | invalid_request_error | This email address is already registered. Use a different email or sign in. |
user.email.not_registered | E3209 | 404 | invalid_request_error | This email address is not registered. Check for typos or create a new account. |
user.email.already_verified | E3210 | 409 | invalid_request_error | This email address has already been verified. No further action is needed. |
user.email.verify.failed | E3211 | 500 | api_error | The email could not be verified. Double-check the details and try again. |
user.login.failed | E3212 | 401 | authentication_error | Login failed. Check your credentials and try again. |
user.password.incorrect | E3213 | 401 | authentication_error | The password entered is incorrect. Check the spelling and try again. |
user.credentials.invalid | E3214 | 401 | authentication_error | The email address or password is incorrect. Check your credentials and try again. |
user.iam.retrieve.failed | E3220 | 500 | api_error | We couldn't load this IAM account. Check the id and try again. |
user.otp.retrieve.failed | E3230 | 500 | api_error | We couldn't load this OTP. Check the id and try again. |
user.otp.invalid | E3231 | 400 | invalid_request_error | The one-time password (OTP) is invalid or has expired. Check the code and try again. |
user.password.reset.failed | E3267 | 500 | api_error | The password could not be reset. Try again shortly, or contact support if the issue persists. |
user.account_id.required | E3270 | 400 | invalid_request_error | An account_id is required for this operation. Provide a valid account identifier and retry. |
user.passcode.required | E3271 | 400 | invalid_request_error | A passcode is required for this operation. Provide the passcode and retry. |
user.account_id.mismatch | E3274 | 400 | invalid_request_error | The account_id in the request does not match the authenticated account. |
user.email.verify.destroy.failed | E3503 | 500 | api_error | We couldn't destroy email verification token. Try again shortly, or contact support if the issue persists. |
validation
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
validation.country | E1072 | 400 | invalid_request_error | {field} must be a valid ISO 3166-1 alpha-2 country code |
validation.date_time | E1073 | 400 | invalid_request_error | {field} must be an RFC 3339 date-time, e.g. 2026-11-01T00:00:00Z. |
validation.email | E1074 | 400 | invalid_request_error | {field} must be a valid email |
validation.invalid_value | E1075 | 400 | invalid_request_error | {field} is not valid: {reason}. |
validation.limit_eq | E1076 | 400 | invalid_request_error | {field} must satisfy eq={limit} |
validation.limit_gt | E1077 | 400 | invalid_request_error | {field} must satisfy gt={limit} |
validation.limit_gte | E1078 | 400 | invalid_request_error | {field} must satisfy gte={limit} |
validation.limit_len | E1079 | 400 | invalid_request_error | {field} must satisfy len={limit} |
validation.limit_lt | E1080 | 400 | invalid_request_error | {field} must satisfy lt={limit} |
validation.limit_lte | E1081 | 400 | invalid_request_error | {field} must satisfy lte={limit} |
validation.limit_max | E1082 | 400 | invalid_request_error | {field} must satisfy max={limit} |
validation.limit_min | E1083 | 400 | invalid_request_error | {field} must satisfy min={limit} |
validation.limit_ne | E1084 | 400 | invalid_request_error | {field} must satisfy ne={limit} |
validation.one_of | E1085 | 400 | invalid_request_error | {field} must be one of [{values}] |
validation.payment_method_unavailable | E1086 | 400 | invalid_request_error | payment method "{method}" is not available in country "{country}" |
validation.required | E1087 | 400 | invalid_request_error | {field} is required |
validation.rule | E1088 | 400 | invalid_request_error | {field} failed {rule} validation |
validation.unknown_parameter | E1089 | 400 | invalid_request_error | Received unknown parameter: {field}. |
validation.url | E1090 | 400 | invalid_request_error | {field} must be a valid URL |
validation.uuid | E1091 | 400 | invalid_request_error | {field} must be a valid UUID |
validation.wrong_type | E1092 | 400 | invalid_request_error | {field} must be {type}; got {got}. |
validation.body.invalid | E1100 | 400 | invalid_request_error | The request body could not be parsed. Check that it is valid JSON and matches the expected schema. |
validation.failed | E1101 | 400 | invalid_request_error | One or more request fields failed validation. Check the error details and correct the input. |
validation.query.invalid | E1102 | 400 | invalid_request_error | One or more query parameters are invalid. Check the names, types, and allowed values. |
validation.path.invalid | E1103 | 400 | invalid_request_error | One or more path parameters are invalid. Ensure all IDs and values are in the correct format. |
validation.id.invalid | E1104 | 400 | invalid_request_error | The provided identifier is not valid. Ensure the ID is well-formed and belongs to this application. |
validation.format.invalid | E1105 | 400 | invalid_request_error | The submitted value does not match the expected format. Review the API documentation for the correct shape. |
validation.api_version.invalid | E1106 | 400 | invalid_request_error | The Paycose-Version header names an API version that does not exist. Send a published version date, or leave the header out to use your key's version. |
validation.convert_string.failed | E8800 | 400 | invalid_request_error | We couldn't convert value as string. Verify the source/dest values and try again. |
validation.wrong_format | E8801 | 400 | invalid_request_error | The submitted value is in the wrong format. Check the expected format and try again. |
validation.start_date.invalid | E8802 | 400 | invalid_request_error | Invalid startDate format, expected YYYY-MM-DD |
validation.end_date.invalid | E8803 | 400 | invalid_request_error | Invalid endDate format, expected YYYY-MM-DD |
webhook
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
webhook.could_not_be_verified_please_redeliver | E1093 | 503 | api_error | webhook could not be verified right now; please redeliver |
webhook.invalid_email | E1094 | 400 | invalid_request_error | invalid email |
webhook.invalid_json_body | E1095 | 400 | invalid_request_error | invalid JSON body |
webhook.invalid_webhook_token | E1096 | 401 | authentication_error | invalid webhook token |
webhook.missing_subject_id | E1097 | 400 | invalid_request_error | missing subject id |
webhook.unsupported_event | E1098 | 400 | invalid_request_error | unsupported event |
webhook.webhook_verification_failed | E1099 | 401 | authentication_error | webhook verification failed |
webhook.unknown_webhook_token | E8073 | 404 | invalid_request_error | unknown webhook token |
request
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
request.route_not_found | E1107 | 404 | invalid_request_error | No API route matches this method and path. Check the URL against the API reference. |
request.method_not_allowed | E1108 | 405 | invalid_request_error | This path does not accept this HTTP method. Check the API reference for the methods it takes. |
request.body_too_large | E1109 | 413 | invalid_request_error | The request body is larger than this API accepts. Send a smaller body. |
request.rate_limited | E1116 | 429 | rate_limit_error | Too many requests were sent in a short time. Wait for the Retry-After interval, then try again. |
expand
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
expand.depth.exceeded | E1110 | 400 | invalid_request_error | The expand[] parameter exceeds the maximum depth allowed. Reduce the nesting level and retry. |
expand.segment.invalid | E1111 | 400 | invalid_request_error | An expand[] segment is invalid. Check the documentation for accepted expand paths. |
pagination
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
pagination.unsupported_input | E1112 | 400 | invalid_request_error | One or more filter, sort, or search fields are not supported on this resource. |
pagination.invalid_field | E1113 | 400 | invalid_request_error | One or more filter, sort, or search fields are not valid for this resource. |
label
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
label.invalid | E1114 | 400 | invalid_request_error | A label is not valid. Labels are 1 to 64 characters and cannot contain a comma or a control character. |
labels
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
labels.too_many | E1115 | 400 | invalid_request_error | A resource can have at most 50 labels. Remove a label before adding another. |
labels.limit_must_be_a_whole_number_from | E1816 | 400 | invalid_request_error | limit must be a whole number from 1 to {max_suggest_limit} |
labels.send_at_least_one_label_in_add | E1817 | 400 | invalid_request_error | send at least one label in add or remove |
webhook_endpoint
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
webhook_endpoint.url_is_required | E1120 | 400 | invalid_request_error | url is required |
webhook_endpoint.invalid_enabled_event | E8074 | 400 | invalid_request_error | invalid enabled event: {value} |
webhook_endpoint.webhook_endpoint_already_exists_for_url | E8075 | 409 | invalid_request_error | webhook endpoint already exists for url={url} |
webhook_endpoint.webhook_endpoint_url_is_not_reachable_from | E8076 | 400 | invalid_request_error | webhook endpoint url is not reachable from a public network: {value} |
webhook_endpoint.not_found | E8100 | 404 | invalid_request_error | The requested webhook endpoint could not be found. Check the id and try again. |
webhook_endpoint.create.failed | E8101 | 500 | api_error | The webhook endpoint could not be created. Verify the request body and try again. |
webhook_endpoint.update.failed | E8102 | 500 | api_error | The webhook endpoint could not be updated. Verify the request and try again. |
webhook_endpoint.delete.failed | E8103 | 500 | api_error | The webhook endpoint could not be deleted. |
webhook_endpoint.retrieve.failed | E8104 | 500 | api_error | We couldn't load this webhook endpoint. Check the id and try again. |
webhook_endpoint.list.failed | E8105 | 500 | api_error | We couldn't load the list of webhook endpoints. Try again shortly. |
webhook_endpoint.rotate_secret.failed | E8106 | 500 | api_error | We couldn't rotate webhook endpoint secret. Try again shortly. |
webhook_endpoint.already_exists | E8107 | 409 | invalid_request_error | A webhook endpoint for this URL already exists. Use a different URL or update the existing endpoint. |
webhook_endpoint.data.invalid | E8108 | 400 | invalid_request_error | The webhook endpoint data is invalid. Check the request body and try again. |
webhook_job
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
webhook_job.job_is_currently_being_processed | E1122 | 409 | invalid_request_error | job is currently being processed |
webhook_job.job_is_not_ready_for_retry | E1123 | 409 | invalid_request_error | job is not ready for retry |
webhook_job.this_event_is_already_being_resent_to | E1124 | 409 | invalid_request_error | This event is already being resent to that endpoint; try again shortly. |
webhook_job.webhook_endpoint_does_not_listen_for_events | E1125 | 400 | invalid_request_error | Webhook endpoint "{id}" does not listen for {type} events. |
webhook_job.webhook_endpoint_is_disabled_enable_it_before | E1126 | 409 | invalid_request_error | Webhook endpoint "{id}" is disabled; enable it before resending events to it. |
webhook_job.webhook_job_application_country_id_and_event | E1127 | 400 | invalid_request_error | webhook_job: application_country_id and event are required |
webhook_job.webhook_job_id_endpoint_id_application_country | E1128 | 400 | invalid_request_error | webhook_job: id, endpoint_id, application_country_id, and event are required |
webhook_job.webhook_job_missing_enqueue_params | E1129 | 400 | invalid_request_error | webhook_job: missing enqueue params |
webhook_job.webhook_job_missing_event | E1130 | 400 | invalid_request_error | webhook_job: missing event |
webhook_job.webhook_job_missing_params | E1131 | 400 | invalid_request_error | webhook_job: missing params |
webhook_job.webhook_job_not_found | E2466 | 404 | invalid_request_error | webhook job not found |
webhook_job.no_webhook_endpoint_exists_in_this_country | E8077 | 404 | invalid_request_error | No webhook endpoint "{endpoint_id}" exists in this country and mode. |
webhook_job.trigger_failed | E8200 | 500 | api_error | We couldn't trigger pending webhook jobs. Try again shortly. |
auth
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
auth.unauthorized | E1200 | 401 | authentication_error | Authentication is required. Provide a valid bearer token or API key in the Authorization header. |
auth.session.expired | E1201 | 401 | authentication_error | Your session has expired. Sign in again to continue. |
auth.session.inactive | E1202 | 401 | authentication_error | Your session is inactive and cannot be used. Start a new session to proceed. |
auth.session.invalid | E1203 | 401 | authentication_error | The session token is invalid or has been revoked. Sign in again to get a new session. |
auth.session.save_failed | E1204 | 500 | api_error | The session could not be saved due to an internal error. Try again shortly. |
auth.aal2.required | E1205 | 403 | permission_error | Multi-factor authentication is required. Complete a second-factor challenge to proceed. |
auth.aal2.stale | E1206 | 403 | permission_error | The multi-factor authentication challenge is too old. Complete a fresh MFA challenge. |
auth.email_code.required | E1207 | 403 | permission_error | Confirm it's you: enter the code we email you to keep using this device. |
auth.authenticator.required | E1208 | 403 | permission_error | Confirm it's you with your authenticator app, security key or a backup code. |
auth.bearer.invalid | E1210 | 401 | authentication_error | The bearer token is invalid, malformed, or expired. Provide a valid token. |
auth.secret.invalid | E1211 | 401 | authentication_error | The API key is invalid or has been deactivated. Use an active API key. |
auth.onetime.invalid | E1212 | 401 | authentication_error | The one-time session token is invalid or has already been used. |
auth.missing.headers | E1213 | 401 | authentication_error | Required authentication headers are missing. Include the Authorization header in your request. |
auth.identity.not_found | E1214 | 401 | authentication_error | No identity was found matching the provided credentials. |
auth.missing.app | E1215 | 400 | invalid_request_error | An application context is required but was not provided. Include the application ID in your request. |
auth.missing.country | E1216 | 400 | invalid_request_error | An application country context is required but was not found in the session. |
auth.missing.service_account | E1217 | 500 | api_error | No service account is bound to this request context. Verify the middleware configuration. |
auth.method.unsupported | E1218 | 400 | invalid_request_error | The authentication method used is not supported. Use a bearer token or a valid API key. |
auth.identity.email_conflict | E1219 | 401 | authentication_error | This sign-in is linked to a different identity than the account on file for your email address. Contact support to reconnect them. |
auth.publishable_key.missing | E1220 | 401 | authentication_error | A publishable key is required. Include the X-Publishable-Key header in your request. |
auth.publishable_key.invalid | E1221 | 401 | authentication_error | The publishable key is invalid or has been revoked. Use an active publishable key. |
auth.publishable_key.mode_mismatch | E1222 | 403 | permission_error | The publishable key mode (test/live) does not match the session. Use the key that matches your environment. |
auth.publishable_key.app_mismatch | E1223 | 403 | permission_error | The publishable key does not belong to the application that owns this session. |
auth.publishable_key.origin_forbidden | E1224 | 403 | permission_error | Requests from this origin are not allowed for this publishable key. Add the origin to the key's allowed origins. |
auth.admin.disabled | E1225 | 401 | authentication_error | This admin account has been disabled. Ask an Owner to enable it again. |
auth.tenant.throttled | E1226 | 429 | rate_limit_error | This account is sending more requests than it may at once. Wait for the Retry-After interval, then try again. |
auth.scope.mismatch | E1227 | 409 | invalid_request_error | This request names a different application or country than the one it is scoped to. Select that application and country first, or use a key scoped to them. |
auth.logout.incomplete | E1228 | 502 | api_error | Your session here was ended, but the sign-in service could not end your sign-in. Sign out again; if this persists, contact support. |
auth.role_cannot_use_merchant_api | E1530 | 403 | permission_error | The {role} role can't use the merchant API with an admin session. Start an impersonation, or ask an Owner to change your role. |
auth.your_role_cannot_use_merchant_api | E1531 | 403 | permission_error | Your admin role can't use the merchant API with an admin session. Start an impersonation, or ask an Owner to change your role. |
auth.role_cannot_change | E2405 | 400 | invalid_request_error | The {role} role can't make changes in {group}. Ask an Owner to change your role. |
auth.role_cannot_reveal_secrets | E2406 | 400 | invalid_request_error | The {role} role can't reveal stored secrets in {group}. Ask an Owner to change your role. |
auth.role_cannot_view | E2407 | 400 | invalid_request_error | The {role} role can't view {group}. Ask an Owner to change your role. |
auth.your_role_cannot_change | E2408 | 400 | invalid_request_error | Your admin role can't make changes in {group}. Ask an Owner to change your role. |
auth.your_role_cannot_reveal_secrets | E2409 | 400 | invalid_request_error | Your admin role can't reveal stored secrets in {group}. Ask an Owner to change your role. |
auth.your_role_cannot_view | E2410 | 400 | invalid_request_error | Your admin role can't view {group}. Ask an Owner to change your role. |
auth.token.generate.failed | E3260 | 500 | api_error | authentication token could not be generated. Try again shortly. |
auth.session.app.retrieve.failed | E3262 | 500 | api_error | We couldn't load this application from session. Check the id and try again. |
auth.session.account.retrieve.failed | E3263 | 500 | api_error | We couldn't load this account from session. Check the id and try again. |
auth.session.init.failed | E3264 | 500 | api_error | The session could not be initiated. Try again shortly, or contact support if the issue persists. |
auth.session.reset.failed | E3265 | 500 | api_error | The session could not be reset. Try again shortly, or contact support if the issue persists. |
auth.session.remove.failed | E3266 | 500 | api_error | The session could not be removed. Try again shortly, or contact support if the issue persists. |
auth.key.deprecated | E3273 | 410 | invalid_request_error | This API key is deprecated and can no longer be used. Rotate to a current key. |
auth.recovery.destroy.failed | E3502 | 500 | api_error | We couldn't destroy recovery token. Try again shortly, or contact support if the issue persists. |
auth.onetime.generate.failed | E3510 | 500 | api_error | one-time session could not be generated. Try again shortly. |
auth.onetime.expire.failed | E3511 | 500 | api_error | one-time session could not be expired. Verify its state, then retry. |
auth.onetime.not_found | E3512 | 404 | invalid_request_error | The one-time session could not be found. Check the id and try again. |
auth.shared_secret.generate.failed | E3520 | 500 | api_error | shared secret could not be generated. Try again shortly. |
authz
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
authz.forbidden | E1300 | 403 | permission_error | Your account does not have permission to perform this action. |
authz.superuser.required | E1301 | 403 | permission_error | This action requires a Lodash admin account. Contact your administrator. |
authz.email.not_verified | E1302 | 403 | permission_error | Your email address has not been verified. Check your inbox and complete the verification step. |
authz.kyc.not_verified | E1303 | 403 | permission_error | KYC identity verification is required before this action can be performed. |
authz.kyb.not_verified | E1304 | 403 | permission_error | Account verification is required before this action can be performed in live mode. Finish it under Settings, Verification. |
authz.test_mode.required | E1305 | 403 | permission_error | This action is only available in test mode. Switch to test mode and try again. |
authz.admin_role.forbidden | E1306 | 403 | permission_error | Your admin role does not allow this action. Ask an Owner to change your role. |
authz.secret_key_route.forbidden | E1307 | 403 | permission_error | This endpoint is only available in the Dashboard and cannot be called with a secret key. |
authz.enforcer.error | E1310 | 500 | api_error | The authorization policy engine returned an error. Contact support if this persists. |
authz.route.unregistered | E1311 | 403 | permission_error | This route is not registered in the authorization policy, so access is denied. Contact support. |
authz.onetime_role.unavailable | E1312 | 500 | api_error | The authorization role for this session type is not available. Contact support if this persists. |
authz.root.forbidden | E3272 | 403 | permission_error | This function is not allowed for root user |
authz.developer_route.forbidden | E3314 | 403 | permission_error | Route is not allowed for developer service account |
conflict
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
conflict.state | E1400 | 409 | invalid_request_error | The resource is in a state that conflicts with this operation. Check its current status and try again. |
conflict.idempotency_replay | E1401 | 409 | idempotency_error | This idempotency key has already been used for a different request. Use a new key for a new request. |
conflict.optimistic_lock | E1402 | 409 | invalid_request_error | The resource was modified by another request. Fetch the latest version and retry. |
conflict.connector_state_unverified | E1403 | 503 | api_error | We could not confirm this resource's current state with the payment connector, so nothing was changed. Try again shortly. |
conflict.connector_state_mismatch | E1404 | 409 | invalid_request_error | The payment connector reports a different state for this resource, so this action is no longer valid. Refresh and review the current status. |
conflict.idempotency_in_progress | E1405 | 409 | idempotency_error | Another request with this idempotency key is still being processed. Retry once it has finished. |
account
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
account.amount_must_be_a_positive_integer_in | E1406 | 400 | invalid_request_error | amount must be a positive integer in the currency's smallest unit. |
account.note_must_be_at_most_5000_characters | E1407 | 400 | invalid_request_error | note must be at most 5000 characters. |
account.payout_schedule_must_be_daily_or_manual | E1408 | 400 | invalid_request_error | payout_schedule must be daily or manual. |
account.reference_must_be_at_most_255_characters | E1409 | 400 | invalid_request_error | reference must be at most 255 characters. |
account.status_must_be_one_of_ready_no | E1411 | 400 | invalid_request_error | status must be one of ready, no_verified_bank, negative_balance, settling, no_available_balance. |
account.must_be_an_account_id_acct_not | E2403 | 400 | invalid_request_error | {field} must be an account id (acct_...), not "{ref}": a customer id (cus_...) is no longer accepted. Send the connected account's id from GET /v1/accounts. |
account.receipt_uploads_are_unavailable | E2404 | 400 | invalid_request_error | receipt uploads are unavailable |
account.not_found | E6500 | 404 | invalid_request_error | The requested account could not be found. Check the id and try again. |
account.customer.already_linked | E6501 | 409 | invalid_request_error | This customer is already linked to another connected account. Retrieve that account instead of creating a new one. |
account.customer.is_owner | E6502 | 400 | invalid_request_error | This customer holds your own settlement funds and is already represented by your account. Link a different customer. |
account.currency_is_not_a_supported_iso_4217 | E6503 | 400 | invalid_request_error | currency {query} is not a supported ISO-4217 code. |
account.currency_must_be_a_supported_iso_4217 | E6504 | 400 | invalid_request_error | currency must be a supported ISO-4217 code. |
address
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
address.level_must_be_province_district_or_subdistrict | E1413 | 400 | invalid_request_error | level must be province, district or subdistrict |
admin
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
admin.a_csv_file_is_required | E1415 | 400 | invalid_request_error | a CSV file is required |
admin.a_journal_id_or_journal_reference_is | E1416 | 400 | invalid_request_error | a journal id or journal reference is required |
admin.a_krungsri_first_choice_plan_needs_the | E1417 | 400 | invalid_request_error | A Krungsri First Choice plan needs the marketing_source_code and product_code Krungsri issued to you. |
admin.a_reason_is_required_to_reset_two | E1418 | 400 | invalid_request_error | A reason is required to reset two-factor authentication. |
admin.a_reason_is_required_to_validate_a | E1419 | 400 | invalid_request_error | a reason is required to validate a line that is not fully matched |
admin.a_reason_of_at_least_10_characters | E1420 | 400 | invalid_request_error | a reason of at least 10 characters is required: it is recorded on the row, echoed in every log line this bypass admits, and is the only account of why verification was switched off |
admin.account_id_and_display_name_are_required | E1421 | 400 | invalid_request_error | account_id and display_name are required |
admin.amount_must_be_an_integer_in_minor | E1422 | 400 | invalid_request_error | amount must be an integer in minor units |
admin.application_id_and_country_are_required | E1424 | 400 | invalid_request_error | application_id and country are required |
admin.application_id_country_and_connector_are_required | E1425 | 400 | invalid_request_error | application_id, country, and connector are required |
admin.application_kyb_is_already_verified | E1428 | 400 | invalid_request_error | application KYB is already verified |
admin.application_kyb_is_not_verified | E1429 | 400 | invalid_request_error | application KYB is not verified |
admin.arming_a_live_bypass_requires_confirm | E1430 | 400 | invalid_request_error | arming a live bypass requires "confirm":"{value}" |
admin.arming_a_live_bypass_requires_mode_live | E1431 | 400 | invalid_request_error | arming a live bypass requires "mode":"live" explicitly in the body, never inherited from the session |
admin.balance_id_is_required | E1432 | 400 | invalid_request_error | balance id is required |
admin.cannot_accept_unsigned_webhooks_its_adapter_does | E1433 | 400 | invalid_request_error | {connector} cannot accept unsigned webhooks: its adapter does not implement an unverified parse, so arming this would only turn every failed verification into a 401. Nothing to enable. |
admin.card_cannot_be_switched_off_assign_card | E1434 | 409 | invalid_request_error | card cannot be switched off; assign card to a different connector instead |
admin.card_is_not_accepted_by_a_card | E1435 | 400 | invalid_request_error | Card {key} is not accepted by {connector}; a card lists the connectors that accept it under accepted_by in the gateway card catalog. |
admin.chargebacks_cannot_be_recorded_on_this | E1436 | 400 | invalid_request_error | chargebacks cannot be recorded on this deployment |
admin.correlationid_is_required | E1437 | 400 | invalid_request_error | correlationId is required |
admin.country_and_default_currency_are_required | E1438 | 400 | invalid_request_error | country and default_currency are required |
admin.country_in_the_body_and_in_the | E1439 | 400 | invalid_request_error | country "{value}" in the body and "{value_2}" in the query disagree; send one country so the bypass scope is unambiguous |
admin.country_must_be_an_iso_3166_1 | E1440 | 400 | invalid_request_error | country must be an ISO 3166-1 alpha-2 code and default_currency is required. |
admin.country_must_be_an_iso_alpha_2 | E1441 | 400 | invalid_request_error | country must be an ISO alpha-2 code like TH. |
admin.credential_belongs_to_connector | E1442 | 400 | invalid_request_error | credential {key_id} belongs to connector {connector} |
admin.date_must_be_yyyy_mm_dd | E1443 | 400 | invalid_request_error | date must be YYYY-MM-DD |
admin.days_is_required | E1444 | 400 | invalid_request_error | days is required. |
admin.dead_letter_message_is_not_in_new | E1445 | 409 | invalid_request_error | dead-letter message is not in 'new' status |
admin.dispute_fee_amount_cannot_be_negative | E1446 | 400 | invalid_request_error | dispute_fee_amount cannot be negative |
admin.dispute_fee_currency_must_be_a_3 | E1447 | 400 | invalid_request_error | dispute_fee_currency must be a 3-letter currency code |
admin.duration_exceeds_the_cap_for_mode | E1448 | 400 | invalid_request_error | duration {duration} exceeds the {limit} cap for {test_mode} mode |
admin.duration_must_be_a_positive_go_duration | E1449 | 400 | invalid_request_error | duration must be a positive Go duration such as "4h" |
admin.failed_to_store_connector_secrets | E1450 | 400 | invalid_request_error | failed to store connector secrets: {reason} |
admin.for_application_country_id_already_picks_one | E1452 | 400 | invalid_request_error | for_application_country_id already picks one merchant's view; drop filter[scope]. |
admin.from_and_to_must_be_rfc_3339 | E1453 | 400 | invalid_request_error | from and to must be RFC 3339 timestamps or YYYY-MM-DD dates |
admin.from_must_be_before_to | E1454 | 400 | invalid_request_error | from must be before to |
admin.has_no_central_credential_of_its_own | E1455 | 400 | invalid_request_error | {country} has no central credential of its own in {mode} mode, so this webhook would be saved on the global default; connect {connector} for {country_2} first, or switch the scope to Global default |
admin.has_no_key_on_the_central_credential | E1456 | 400 | invalid_request_error | {connector} has no key on the {country} central credential in {mode} mode, so this webhook would be saved on the global default; connect {connector_2} for {country_2} first, or switch the scope to Global default |
admin.identity_id_is_required | E1457 | 400 | invalid_request_error | identity_id is required |
admin.instant_payout_fee_fixed_cannot_be_negative | E1458 | 400 | invalid_request_error | instant_payout_fee_fixed cannot be negative |
admin.instant_payout_fee_percent_must_be_between | E1459 | 400 | invalid_request_error | instant_payout_fee_percent must be between 0 and 100 |
admin.is_a_multi_connector_method_it_is | E1460 | 400 | invalid_request_error | "{method}" is a multi-connector method; it is enabled per connector, not assigned |
admin.journal_id_is_required | E1461 | 400 | invalid_request_error | journal id is required |
admin.limit_must_be_a_whole_number_from | E1462 | 400 | invalid_request_error | limit must be a whole number from 1 to {customer_sync_runs_max_limit} |
admin.max_concurrent_must_be_above_0_or | E1463 | 400 | invalid_request_error | max_concurrent must be above 0, or null for the default |
admin.method_is_required | E1464 | 400 | invalid_request_error | method is required |
admin.method_must_be_default_the_connector_sends | E1465 | 400 | invalid_request_error | method must be "default" (the connector sends the payout) or "manual" (it was paid by hand). |
admin.minimum_topup_is_required | E1466 | 400 | invalid_request_error | minimum_topup is required. |
admin.must_be_yyyy_mm_dd | E1467 | 400 | invalid_request_error | {field} must be YYYY-MM-DD |
admin.needs_approval_must_be_true_or_false | E1468 | 400 | invalid_request_error | needs_approval must be true or false |
admin.no_connector_connector_offers_installments_so_a | E1470 | 400 | invalid_request_error | No connector connector offers installments, so a plan cannot be routed to any bank. |
admin.offers_installments_in_no_country_its_manifest | E1471 | 400 | invalid_request_error | {bank} offers installments in no country; its manifest lists none. |
admin.offers_installments_in_only_this_merchant_s | E1472 | 400 | invalid_request_error | {bank} offers installments in {covered} only; this merchant's country is {country}. |
admin.payout_delay_days_must_be_between_0 | E1473 | 400 | invalid_request_error | payout_delay_days must be between 0 and {max_payout_delay_days} |
admin.requests_per_minute_must_be_above_0 | E1475 | 400 | invalid_request_error | requests_per_minute must be above 0, or null for the default |
admin.reserve_days_must_be_between_0_and | E1476 | 400 | invalid_request_error | reserve_days must be between 0 and 365 |
admin.reserve_percentage_must_be_between_0_and | E1477 | 400 | invalid_request_error | reserve_percentage must be between 0 and 100 |
admin.settlement_releases_are_not_available_on_this | E1478 | 400 | invalid_request_error | settlement releases are not available on this deployment |
admin.takes_only_a_plan_in_never_reaches | E1480 | 400 | invalid_request_error | {bank} takes {currencies} only; a plan in {currency} never reaches checkout. |
admin.taskrunid_is_required | E1481 | 400 | invalid_request_error | taskRunId is required |
admin.the_default_billing_setting_cannot_be_deleted | E1482 | 400 | invalid_request_error | The default billing setting cannot be deleted: every country without its own row falls back to it. |
admin.the_draft_profile_is_not_valid_json | E1483 | 400 | invalid_request_error | the draft profile is not valid JSON |
admin.the_file_could_not_be_read | E1484 | 400 | invalid_request_error | the file could not be read |
admin.the_file_is_larger_than_5_mb | E1485 | 400 | invalid_request_error | the file is larger than 5 MB |
admin.the_query_string_could_not_be_parsed | E1487 | 400 | invalid_request_error | The query string could not be parsed. |
admin.the_target_identity_does_not_exist_in | E1488 | 401 | authentication_error | the target identity does not exist in kratos |
admin.this_country_bills_paycose_credit_top_ups | E1489 | 409 | invalid_request_error | This country bills Paycose credit top-ups. Point the credit program at another country before deleting it. |
admin.this_import_cannot_be_retried_only_a | E1490 | 409 | invalid_request_error | this import cannot be retried: only a failed, queued or stalled upload with a stored file can run again |
admin.this_connector_is_inherited_from_the_global | E1491 | 400 | invalid_request_error | this connector is inherited from the global default; update it under Global default |
admin.this_connector_is_inherited_from_the_global_2 | E1492 | 400 | invalid_request_error | this connector is inherited from the global default; remove it under Global default |
admin.tz_must_be_an_iana_time_zone | E1493 | 400 | invalid_request_error | tz must be an IANA time zone such as Asia/Bangkok |
admin.unknown_installment_connector_a_plan_only_reaches | E1494 | 400 | invalid_request_error | Unknown installment connector. A plan only reaches checkout when its connector matches a connector that offers installments: {known}. |
admin.unknown_merchant_country | E1495 | 400 | invalid_request_error | Unknown merchant country |
admin.vat_percentage_is_required | E1497 | 400 | invalid_request_error | vat_percentage is required. |
admin.todo_one | E2524 | 400 | invalid_request_error | todo must be one of {todo_any}, {todo_approve}, {todo_transfer} or {todo_look} |
admin.timezone_most_64_characters | E2551 | 400 | invalid_request_error | timezone must be at most 64 characters |
admin.invalid_timezone | E2552 | 400 | invalid_request_error | invalid timezone "{tz}" |
admin.a_card_key_cannot_change_once_created | E3532 | 400 | invalid_request_error | A card key cannot change once created: installment plans reference it. |
admin.a_card_name_must_be_1_to | E3533 | 400 | invalid_request_error | A card name must be 1 to 80 characters. |
admin.a_card_needs_at_least_one_issuer | E3534 | 400 | invalid_request_error | A card needs at least one issuer key. |
admin.a_custom_bin_cannot_change_once_created | E3535 | 400 | invalid_request_error | A custom BIN cannot change once created; delete it and add the new BIN. |
admin.accepted_by_is_not_an_installment_connector | E3536 | 400 | invalid_request_error | accepted_by "{value}" is not an installment connector; no connector connector offers installments. |
admin.accepted_by_is_not_an_installment_connector_2 | E3537 | 400 | invalid_request_error | accepted_by "{value}" is not an installment connector; use one of: {known}. |
admin.alpha_2_is_not_valid_use_an | E3538 | 400 | invalid_request_error | alpha_2 "{value}" is not valid: use an ISO alpha-2 country code like TH. |
admin.an_asset_must_be_1_to_bytes | E3539 | 400 | invalid_request_error | An asset must be 1 to {gateway_asset_max_bytes} bytes once decoded; this one is {count}. |
admin.asset_dir_is_not_valid_use_card | E3540 | 400 | invalid_request_error | Asset dir "{dir}" is not valid: use card-brands or issuers. |
admin.asset_file_is_not_valid_use_lower | E3541 | 400 | invalid_request_error | Asset file "{file}" is not valid: use lower-case letters, digits or '-' and a .png or .svg extension. |
admin.at_most_issuer_aliases_can_be_saved | E3542 | 400 | invalid_request_error | At most {gateway_issuer_alias_max} issuer aliases can be saved; got {count}. |
admin.bin_is_not_valid_a_bin_is | E3543 | 400 | invalid_request_error | bin "{bin}" is not valid: a BIN is 6 to 8 digits. |
admin.card_key_is_not_valid_use_alpha | E3544 | 400 | invalid_request_error | Card key "{key}" is not valid: use <alpha-2>_<snake_case> like th_krungsri_credit. |
admin.content_base64_is_not_valid_standard_base64 | E3545 | 400 | invalid_request_error | content_base64 is not valid standard base64. |
admin.data_is_required_it_replaces_the_whole | E3546 | 400 | invalid_request_error | data is required: it replaces the whole alias set, so send [] to clear it. |
admin.entry_is_not_valid_use_lower_case | E3547 | 400 | invalid_request_error | {field} entry "{value}" is not valid: use lower-case letters, digits or '_' (at most 64). |
admin.has_no_credentials_connected_for_this_mode | E3548 | 409 | invalid_request_error | "{connector}" has no credentials connected for this mode; connect its API keys before routing {method} to it |
admin.is_not_a_valid_connector_name_use | E3549 | 400 | invalid_request_error | "{value}" is not a valid connector name: use lower-case letters, digits, '_' or '-'. |
admin.is_not_a_valid_secret_name_use | E3550 | 400 | invalid_request_error | "{value}" is not a valid secret name: use letters, digits, '_' or '-' (no dots or spaces). |
admin.is_not_valid_use_at_most_32 | E3551 | 400 | invalid_request_error | {field} "{value}" is not valid: use at most 32 letters, digits, spaces, '_' or '-'. |
admin.is_the_logo_of_connector_connector_s | E3552 | 409 | invalid_request_error | {dir}/{file} is the logo of connector connector(s) {users}; change their manifest logo before deleting it. |
admin.issuer_alias_is_listed_twice | E3553 | 400 | invalid_request_error | Issuer alias "{alias}" is listed twice. |
admin.issuer_alias_is_not_valid_both_use | E3554 | 400 | invalid_request_error | Issuer alias "{alias}" -> "{key}" is not valid: both use lower-case letters, digits or '_'. |
admin.issuer_alias_points_at_itself | E3555 | 400 | invalid_request_error | Issuer alias "{alias}" points at itself. |
admin.issuer_alias_points_at_which_is_itself | E3556 | 400 | invalid_request_error | Issuer alias "{alias}" points at "{key}", which is itself an alias; point it at the final key. |
admin.issuer_key_is_not_valid_use_lower | E3557 | 400 | invalid_request_error | issuer_key "{key}" is not valid: use lower-case letters, digits or '_' (at most 96). |
admin.issuer_name_must_be_1_to_120 | E3558 | 400 | invalid_request_error | issuer_name must be 1 to 120 characters. |
admin.logo_is_not_a_gateway_asset_name | E3559 | 400 | invalid_request_error | logo "{logo}" is not a gateway asset name: use card-brands/<name>.png|svg or issuers/<name>.png|svg. |
admin.the_gateway_card_list_cannot_be_read | E3560 | 503 | api_error | The gateway card list cannot be read right now, so installment cards cannot be listed or checked. Try again shortly. |
admin.type_is_not_valid_use_3_to | E3561 | 400 | invalid_request_error | type "{value}" is not valid: use 3 to 16 letters such as CREDIT, DEBIT, PREPAID or CHARGE. |
admin.the_platform_application_does_not_exist_yet | E8004 | 404 | invalid_request_error | The platform application does not exist yet. It is created on service start; check the boot log for why it did not. |
admin.unknown_cron_trigger | E8005 | 404 | invalid_request_error | unknown cron trigger: {params} |
admin.unknown_connector | E8006 | 404 | invalid_request_error | unknown connector "{connector}" |
admin.bank_account_not_found | E8997 | 404 | invalid_request_error | bank account not found |
admin.central_credential_not_found_for_this_mode | E8998 | 404 | invalid_request_error | central credential not found for this mode and country |
admin.country_is_required_to_attach_a_logo | E8999 | 400 | invalid_request_error | country is required to attach a logo |
aml
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
aml.a_case_is_about_one_account_these | E1498 | 400 | invalid_request_error | A case is about one account; these alerts name different accounts. |
aml.name_at_least_one_alert | E1499 | 400 | invalid_request_error | Name at least one alert. |
aml.reason_is_required_to_dismiss_an_alert | E1501 | 400 | invalid_request_error | reason is required to dismiss an alert. |
aml.report_ref_is_required_to_mark_a | E1502 | 400 | invalid_request_error | report_ref is required to mark a case reported: the reference the authority gave the STR. |
aml.result_is_confirmed_match_or_false_positive | E1503 | 400 | invalid_request_error | result is confirmed_match or false_positive. |
aml.alert.not_found | E9150 | 404 | invalid_request_error | The AML alert could not be found. Check the id and try again. |
aml.case.not_found | E9151 | 404 | invalid_request_error | The AML case could not be found. Check the id and try again. |
aml.case.transition_invalid | E9152 | 409 | invalid_request_error | The case cannot move to that status from its current one. |
aml.watchlist.not_found | E9153 | 404 | invalid_request_error | The watchlist could not be found. Check the id and try again. |
aml.watchlist.import_invalid | E9154 | 400 | invalid_request_error | The watchlist file could not be read. Use a CSV with a name column. |
aml.policy.invalid | E9155 | 400 | invalid_request_error | The AML policy is invalid. Check the scenario name and its parameters. |
aml.screening.not_found | E9156 | 404 | invalid_request_error | The screening could not be found. Check the id and try again. |
aml.report.window_invalid | E9157 | 400 | invalid_request_error | The report period is invalid. Give a from date before the to date, at most 366 days apart. |
aml.alert.closed | E9158 | 409 | invalid_request_error | This alert is already dismissed or in a case. |
aml.failed | E9159 | 500 | api_error | AML monitoring could not complete this request. Try again shortly. |
aml.a_case_cannot_move_from_to | E9160 | 409 | invalid_request_error | A case cannot move from {status} to {status_2}. |
aml.a_parameter_is_a_number_string_boolean | E9161 | 400 | invalid_request_error | A parameter is a number, string, boolean or list. |
aml.alert_is_already_dismissed_or_in_a | E9162 | 409 | invalid_request_error | Alert {id} is already dismissed or in a case. |
aml.alert_was_dismissed_or_put_in_a | E9163 | 409 | invalid_request_error | Alert {id} was dismissed or put in a case meanwhile. |
aml.country_is_a_two_letter_code_or | E9164 | 400 | invalid_request_error | country is a two-letter code, or empty for every country. |
aml.the_case_changed_while_you_were_editing | E9165 | 409 | invalid_request_error | The case changed while you were editing it. Reload it and try again. |
aml.the_watchlist_file_could_not_be_read | E9166 | 400 | invalid_request_error | The watchlist file could not be read: {reason} |
aml.the_watchlist_file_has_no_names | E9167 | 400 | invalid_request_error | The watchlist file has no names. |
aml.unknown_scenario | E9168 | 400 | invalid_request_error | Unknown scenario {scenario}. |
apiversion
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
apiversion.expandable_here | E1504 | 400 | invalid_request_error | Expandable here: {fields}; {reason}. |
apiversion.this_request_expands_nothing | E1505 | 400 | invalid_request_error | This request expands nothing; {reason}. |
application
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
application.country_is_not_one_of_this_application | E1508 | 400 | invalid_request_error | country is not one of this application's countries. |
application.email_must_be_a_valid_email_address | E1510 | 400 | invalid_request_error | email must be a valid email address. |
application.invalid_request_body | E1512 | 400 | invalid_request_error | invalid request body: {reason} |
application.return_url_is_not_one_of_this | E1515 | 400 | invalid_request_error | return_url is not one of this deployment's own origins. |
application.return_url_must_be_an_absolute_http | E1516 | 400 | invalid_request_error | return_url must be an absolute http(s) URL. |
application.subscription_scheduler_must_be_paycose_or_a | E1518 | 400 | invalid_request_error | subscription_scheduler must be paycose, or a card connector that renews subscriptions itself (stripe). |
application.the_payment_routing_was_changed_by_someone | E1519 | 409 | invalid_request_error | The payment routing was changed by someone else while this change was being saved. Reload it and try again. |
application.this_connector_runs_on_paycose_credentials_an | E1520 | 403 | permission_error | this connector runs on Paycose credentials; an administrator enables it for your country, it is not connected as a merchant connector |
application.you_do_not_have_access_to_this | E1522 | 403 | permission_error | you do not have access to this application |
application.you_do_not_have_access_to_this_2 | E1523 | 403 | permission_error | you do not have access to this application: select it first |
application.customer_emails_has_no_email_use | E2518 | 400 | invalid_request_error | customer_emails has no email "{key}"; use one of {customer_email_kind_list} |
application.final_action_got | E2519 | 400 | invalid_request_error | final_action must be "{dunning_cancel}", "{dunning_unpaid}" or "{dunning_past_due}", got "{raw}" |
application.retry_days_list_1_retries | E2520 | 400 | invalid_request_error | retry_days must list 1 to {max_dunning_retries} retries |
application.each_retry_1_days_after_previous | E2521 | 400 | invalid_request_error | each retry must be 1 to {max_dunning_retry_days} days after the previous attempt, got {value} |
application.mdr_refund_policy_got | E2522 | 400 | invalid_request_error | mdr_refund_policy must be "{mdr_refund_policy_none}" or "{mdr_refund_policy_pro_rata}", got "{raw}" |
application.payout_schedule_got | E2523 | 400 | invalid_request_error | payout_schedule must be "{payout_schedule_daily}" or "{payout_schedule_manual}", got "{raw}" |
application.create.failed | E3100 | 500 | api_error | The application could not be created. Verify the request body and try again. |
application.update.failed | E3101 | 500 | api_error | The application could not be updated. Verify the request and try again. |
application.delete.failed | E3102 | 500 | api_error | The application could not be deleted. Try again shortly, or contact support if the issue persists. |
application.retrieve.failed | E3103 | 500 | api_error | We couldn't load this application. Check the id and try again. |
application.not_found | E3104 | 404 | invalid_request_error | The application was not found. Verify the application ID and try again. |
application.country.not_found | E3105 | 404 | invalid_request_error | No country configuration was found for this application. Check the application country ID. |
application.country.retrieve.failed | E3106 | 500 | api_error | We couldn't load this application country. Check the id and try again. |
application.country.create.failed | E3107 | 500 | api_error | The application country could not be created. Verify the request body and try again. |
application.country.update.failed | E3108 | 500 | api_error | The application country could not be updated. Verify the request and try again. |
application.account.already_member | E3109 | 409 | invalid_request_error | The account is already a member of this application. No further action is required. |
application.account.not_member | E3110 | 404 | invalid_request_error | The account is not a member of this application. Add the account to the application first. |
application.account.root_forbidden | E3111 | 400 | invalid_request_error | Root users cannot be added to an application. Only regular accounts may be assigned. |
application.suspended | E3112 | 403 | permission_error | This merchant is not currently accepting payments. |
application.webhook_token.invalid | E3113 | 400 | invalid_request_error | The webhook token must be 16-128 characters using only letters, digits, and the characters . _ ~ - |
application.webhook_token.taken | E3114 | 409 | invalid_request_error | That webhook token is already in use. Choose a different token. |
application.country.exists | E3120 | 409 | invalid_request_error | Country already exists in the application |
application.paycose_billing_is_unavailable_right_now_its | E6505 | 409 | invalid_request_error | Paycose billing is unavailable right now: its payment connector is not ready in this mode. |
application_fee
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
application_fee.limit_must_be_an_integer_between_1 | E1525 | 400 | invalid_request_error | limit must be an integer between 1 and 100. |
application_fee.starting_after_is_not_a_row_of | E1526 | 400 | invalid_request_error | starting_after {id} is not a row of this list. |
application_fee.type_must_be_payment_or_settlement | E1527 | 400 | invalid_request_error | type must be "payment" or "settlement". |
application_fee.not_found | E4900 | 404 | invalid_request_error | The application fee could not be found. Check the id and try again. |
application_fee.list.failed | E4901 | 500 | api_error | We couldn't load the list of application fees. Try again shortly. |
application_fee.refund.not_found | E4902 | 404 | invalid_request_error | The application fee refund could not be found. Check the id and try again. |
application_fee.refund.exceeds | E4903 | 400 | invalid_request_error | The refund exceeds what is left of the application fee. |
application_fee.refunded | E4904 | 400 | invalid_request_error | This application fee is already fully refunded. |
application_fee.requires_destination | E4905 | 400 | invalid_request_error | An application fee or transfer amount needs transfer_data.destination set to one of your connected accounts. |
application_fee.amount.invalid | E4906 | 400 | invalid_request_error | application_fee_amount must be between 0 and the payment amount. |
application_fee.transfer_amount.conflict | E4907 | 400 | invalid_request_error | Use an application fee or a transfer amount, not both. |
application_fee.percent.invalid | E4910 | 400 | invalid_request_error | Percent must be 0-100 with at most two decimals. |
application_fee.recurring_mismatch | E4922 | 400 | invalid_request_error | Amount fields need one-time lines; percent fields need a recurring line. |
application_fee.field_renamed | E4925 | 400 | invalid_request_error | application_fee is now application_fee_amount. |
application_fee.a_one_time_payment_takes_application_fee | E4938 | 400 | invalid_request_error | A one-time payment takes application_fee_amount and transfer_data.amount, not percents. |
application_fee.a_recurring_document_takes_application_fee | E4939 | 400 | invalid_request_error | A recurring document takes application_fee_percent and transfer_data.amount_percent, not amounts. |
application_fee.application_fee_amount_must_be_between_0 | E4940 | 400 | invalid_request_error | application_fee_amount must be between 0 and {amount} (received {application_fee_amount}). |
application_fee.application_fee_has_nothing_left_to_refund | E4941 | 400 | invalid_request_error | Application fee "{id}" has nothing left to refund: refunds still in flight return the last {reserved} of it. |
application_fee.application_fee_is_already_fully_refunded | E4942 | 400 | invalid_request_error | Application fee "{id}" is already fully refunded. |
application_fee.application_fee_is_now_application_fee_amount | E4943 | 400 | invalid_request_error | application_fee is now application_fee_amount; send only application_fee_amount (received {amount} and {alias}). |
application_fee.cannot_refund_of_application_fee_only_is | E4944 | 400 | invalid_request_error | Cannot refund {amount} of application fee "{id}": only {left} is left to refund, since refunds still in flight return {reserved} of it. |
application_fee.cannot_refund_of_application_fee_only_is_2 | E4945 | 400 | invalid_request_error | Cannot refund {amount} of application fee "{id}": only {left} is left to refund. |
application_fee.no_application_fee_exists_in_this_account | E4946 | 404 | invalid_request_error | No application fee "{id}" exists in this account. |
application_fee.no_refund_exists_on_this_application_fee | E4947 | 404 | invalid_request_error | No refund "{id}" exists on this application fee. |
application_fee.starting_after_or_ending_before_is_not | E4948 | 404 | invalid_request_error | starting_after or ending_before is not a refund of this application fee. |
application_fee.transfer_data_amount_must_be_above_0 | E4949 | 400 | invalid_request_error | transfer_data.amount must be above 0 and at most {amount} (received {transfer_amount}). |
application_fee.transfer_group_is_at_most_characters | E4950 | 400 | invalid_request_error | transfer_group is at most {transfer_group_max_len} characters. |
application_verification
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
application_verification.action_must_be_one_of | E1528 | 400 | invalid_request_error | action must be one of {admin_actions} |
application_verification.reason_code_is_required_to_a_verification | E1529 | 400 | invalid_request_error | reason_code is required to {action} a verification |
auth_webhook_event
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
auth_webhook_event.auth_webhook_event_event_type_required | E1532 | 400 | invalid_request_error | auth_webhook_event: event_type required |
auth_webhook_event.auth_webhook_event_payload_required | E1533 | 400 | invalid_request_error | auth_webhook_event: payload required |
auth_webhook_event.auth_webhook_event_request_id_required | E1534 | 400 | invalid_request_error | auth_webhook_event: request_id required |
auth_webhook_event.auth_webhook_event_routing_key_required | E1535 | 400 | invalid_request_error | auth_webhook_event: routing_key required |
auth_webhook_event.auth_webhook_event_subject_id_required | E1536 | 400 | invalid_request_error | auth_webhook_event: subject_id required |
balance
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
balance.a_reason_is_required_to_release_settlement | E1537 | 400 | invalid_request_error | A reason is required to release settlement funds early. |
balance.a_reason_is_required_to_resolve_a | E1538 | 400 | invalid_request_error | A reason is required to resolve a remittance suspense balance. |
balance.a_remittance_suspense_balance_can_only_be | E1539 | 400 | invalid_request_error | A remittance suspense balance can only be resolved to 5100 or 3900. |
balance.a_settlement_line_is_required | E1540 | 400 | invalid_request_error | A settlement line is required. |
balance.approver_identity_is_required | E1541 | 400 | invalid_request_error | Approver identity is required. |
balance.at_most_settlement_holds_can_be_released | E1542 | 400 | invalid_request_error | At most {max_bulk_hold_release} settlement holds can be released at once. |
balance.balance_setapplicationlimit_requires | E1543 | 400 | invalid_request_error | balance: SetApplicationLimit requires applicationCountryID, currency |
balance.currency_is_not_a_three_letter_iso | E1544 | 400 | invalid_request_error | currency "{code}" is not a three-letter ISO 4217 currency code. |
balance.releasing_a_settlement_hold_requires_the | E1545 | 400 | invalid_request_error | Releasing a settlement hold requires the reconciliation evidence it was reviewed against. Reopen the hold and try again. |
balance.releasing_the_holds_behind_a_statement_line | E1546 | 400 | invalid_request_error | Releasing the holds behind a statement line requires the line as it was reviewed. Reload it and try again. |
balance.remittance_posting_is_not_available_on_this | E1547 | 400 | invalid_request_error | Remittance posting is not available on this deployment. |
balance.the_reconciliation_evidence_for_this_hold | E1548 | 409 | invalid_request_error | The reconciliation evidence for this hold changed while it was being reviewed. Reload it and check again before releasing. |
balance.this_charge_has_no_reconciliation_evidence_so | E1549 | 409 | invalid_request_error | This charge has no reconciliation evidence, so its funds stay withheld until it is matched to a connector statement line. |
balance.this_settlement_credit_has_already_been_released | E1550 | 400 | invalid_request_error | This settlement credit has already been released. |
balance.this_settlement_line_has_no_remittance_suspense | E1551 | 400 | invalid_request_error | This settlement line has no remittance suspense balance to resolve. |
balance.this_statement_line_changed_while_it_was | E1552 | 409 | invalid_request_error | This statement line changed while it was being reviewed. Reload it and check the matches again before releasing. |
balance.balance_currency_does_not_match_the_operation | E2411 | 400 | invalid_request_error | Balance "{id}" currency does not match the operation. |
balance.balance_does_not_belong_to_your_account | E2412 | 400 | invalid_request_error | Balance "{id}" does not belong to your account. |
balance.balance_is_not_empty_transfer_or_refund | E2413 | 400 | invalid_request_error | Balance "{id}" is not empty; transfer or refund the remaining funds before deleting. |
balance.not_found | E6200 | 404 | invalid_request_error | The requested balance could not be found. Check the id and try again. |
balance.retrieve.failed | E6201 | 500 | api_error | We couldn't load this balance. Check the id and try again. |
balance.delete.failed | E6202 | 500 | api_error | The balance could not be deleted. Try again shortly, or contact support if the issue persists. |
balance.not_empty | E6203 | 409 | invalid_request_error | Balance still has funds and cannot be deleted |
balance.system.delete_forbidden | E6204 | 403 | permission_error | System-managed balances cannot be deleted. |
balance.transaction.retrieve.failed | E6205 | 500 | api_error | We couldn't load this balance transaction. Check the id and try again. |
balance.stats.retrieve.failed | E6206 | 500 | api_error | We couldn't load this balance stats. Check the id and try again. |
balance.ownership.mismatch | E6207 | 403 | permission_error | The balance does not belong to this account. Use one of the account's own balances. |
balance.currency.mismatch | E6208 | 400 | invalid_request_error | Balance currency does not match the request currency |
balance.id.required | E6209 | 400 | invalid_request_error | balance_id is required to pick the account's balance when no currency names it. |
balance.id.mismatch | E6210 | 400 | invalid_request_error | customer_balance_id at approve does not match the value supplied at create |
balance.name.conflict | E6211 | 409 | invalid_request_error | A balance with this name already exists for this customer in the requested currency |
balance.withdraw.invalid_state | E6212 | 400 | invalid_request_error | The balance is not in a state that allows funds to be removed. Check the balance status. |
balance.update.failed | E6213 | 500 | api_error | The balance could not be updated. Verify the request and try again. |
balance.transaction.not_found | E6214 | 404 | invalid_request_error | The requested balance transaction could not be found. Check the id and try again. |
balance.list.failed | E6215 | 500 | api_error | We couldn't load the list of balances. Try again shortly. |
balance.default_currency.missing | E6220 | 400 | invalid_request_error | A default currency is required but was not found. Set a default currency and retry. |
balance.insufficient | E6230 | 402 | invalid_request_error | The source balance has insufficient funds. Top up the balance or reduce the requested amount, then retry. |
balance.insufficient_available | E6231 | 402 | invalid_request_error | The source balance has insufficient available funds — some funds are currently held by other in-flight operations. Release pending holds or top up the balance to proceed. |
balance.same_source_dest | E6232 | 400 | invalid_request_error | Source and destination balances must be different. Pick a different destination balance and retry. |
balance.limit.exceeded | E6238 | 422 | invalid_request_error | This operation would exceed a configured balance limit. Lower the amount, or contact support to raise the limit. |
balance.limit.not_found | E6239 | 404 | invalid_request_error | No balance limit configuration was found for this operation. Configure a limit before retrying. |
balance.a_balance_named_already_exists_for_this | E6506 | 409 | invalid_request_error | a balance named "{name}" already exists for this customer in {currency} |
balance.an_unnamed_balance_already_exists_for_this | E6507 | 409 | invalid_request_error | an unnamed balance already exists for this customer in {currency} — pass a name to create an additional balance |
balance.application_country_has_no_tenant_account | E6508 | 403 | permission_error | Application country "{app_country_id}" has no tenant account. |
balance.balance_belongs_to_another_account | E6509 | 403 | permission_error | Balance "{id}" belongs to another account. |
balance.balance_has_no_owning_account | E6510 | 403 | permission_error | Balance "{id}" has no owning account. |
balance.balance_id_is_required_for_deposit | E6511 | 400 | invalid_request_error | balance_id is required for Deposit |
balance.balance_id_is_required_for_withdraw | E6512 | 400 | invalid_request_error | balance_id is required for Withdraw |
balance.balance_updatebalance_requires_id | E6513 | 400 | invalid_request_error | balance: UpdateBalance requires ID |
balance.the_application_s_balance_in_was_not | E6514 | 404 | invalid_request_error | The application's balance in {currency_code} was not found. Create a {currency_code_2} balance for the application and retry. |
balance.the_application_s_fee_balance_in_was | E6515 | 404 | invalid_request_error | The application's fee balance in {currency_code} was not found. Create a {currency_code_2} balance for the application customer and retry. |
balance.the_balance_has_no_owning_account | E6516 | 403 | permission_error | The balance has no owning account. |
balance.unsupported_state_for_removing_funds | E6517 | 400 | invalid_request_error | unsupported state for removing funds: {state} |
balance.no_remittance_suspense_leg_found_for_this | E8011 | 404 | invalid_request_error | No remittance suspense leg found for this settlement line. |
balance.settlement_credit_not_found | E8012 | 404 | invalid_request_error | Settlement credit not found. |
bank_account
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
bank_account.this_bank_account_form_was_already_submitted | E1554 | 409 | invalid_request_error | This bank account form was already submitted. |
bank_account.wise_is_not_enabled_for_this_application | E1555 | 400 | invalid_request_error | wise is not enabled for this application country |
bank_account.not_found | E6400 | 404 | invalid_request_error | The requested bank account could not be found. Check the id and try again. |
bank_account.create.failed | E6401 | 500 | api_error | The bank account could not be created. Verify the request body and try again. |
bank_account.retrieve.failed | E6402 | 500 | api_error | We couldn't load this bank account. Check the id and try again. |
bank_account.delete.failed | E6403 | 500 | api_error | The bank account could not be deleted. Try again shortly, or contact support if the issue persists. |
bank_account.verify.failed | E6404 | 500 | api_error | The bank account could not be verified. Double-check the details and try again. |
bank_account.adapter.missing | E6405 | 500 | api_error | No adapter is configured for this bank account type. Contact support. |
bank_account.requirements.list.failed | E6406 | 500 | api_error | We couldn't load the list of bank account requirements. Try again shortly. |
bank_account.field.required | E6407 | 400 | invalid_request_error | A required bank account field is missing. Check the request body and provide all required fields. |
bank_account.type.unsupported | E6408 | 400 | invalid_request_error | The bank account type is not supported. Use a supported account type. |
bank_account.update.failed | E6409 | 500 | api_error | The bank account could not be updated. Verify the request and try again. |
bank_account.list.failed | E6410 | 500 | api_error | We couldn't load the list of bank accounts. Try again shortly. |
bank_account.country.unsupported | E6420 | 400 | invalid_request_error | Bank accounts in this country are not supported yet. Add a bank account in a supported country. |
bank_account.field.invalid | E6421 | 422 | invalid_request_error | A bank account field failed validation. Check the submitted values and try again. |
bank_account.customer.removed | E6422 | 400 | invalid_request_error | Bank accounts now belong to an account: send account (acct_...) instead of customer_id. |
bank_account.account.required | E6423 | 400 | invalid_request_error | account is required: pass your own account or one of your connected accounts (acct_...). |
bank_account.reference_only | E6424 | 409 | invalid_request_error | This bank account belongs to a connected account and is kept for reference only, so it can't be verified, rejected or restored. |
bank_account.own.dashboard_only | E6425 | 400 | invalid_request_error | Your own payout bank account can only be added in the dashboard, not through a link. Links are for connected accounts. |
bank_account.branch.bank_required | E6426 | 400 | invalid_request_error | Choose a bank first: pass bank (its bank code) to list its branches. |
bank_account.branch.list_failed | E6427 | 500 | api_error | We couldn't load this bank's branches. Type the branch code instead, or try again shortly. |
bank_account.formats.unavailable | E6428 | 503 | api_error | Bank account formats are unavailable right now. Try again shortly. |
bank_account.required_field_account_holder_name | E6519 | 400 | invalid_request_error | required field account_holder_name |
bank_account.required_field_phone_number | E6520 | 400 | invalid_request_error | required field phone_number |
bank_account.required_field_primary_identity_id | E6521 | 400 | invalid_request_error | required field primary_identity_id |
bank_account.required_field_target | E6522 | 400 | invalid_request_error | required field: target |
bank_account.field_required | E6535 | 422 | invalid_request_error | field "{field}" is required |
bank_account.field_not_text | E6536 | 422 | invalid_request_error | field "{field}" must be a string |
bank_account.field_not_allowed | E6537 | 422 | invalid_request_error | field "{field}" must be one of the allowed values |
bank_account.field_too_short | E6538 | 422 | invalid_request_error | field "{field}" must be at least {min} characters |
bank_account.field_too_long | E6539 | 422 | invalid_request_error | field "{field}" must be at most {max} characters |
bank_account.field_pattern_broken | E6540 | 422 | invalid_request_error | field "{field}" schema pattern is invalid |
bank_account.field_format | E6541 | 422 | invalid_request_error | field "{field}" has an invalid format |
bank_account.field_iban_country | E6542 | 422 | invalid_request_error | field "{field}" must be a {country} IBAN |
bank_account.field_iban_check_digit | E6543 | 422 | invalid_request_error | field "{field}" has an invalid check digit |
billing
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
billing.a_move_of_this_subscription_is_already | E1556 | 409 | invalid_request_error | A move of this subscription is already in progress. Try again once it finishes. |
billing.add_invoice_items_accepts_at_most_items | E1557 | 400 | invalid_request_error | add_invoice_items accepts at most {max_add_invoice_items} items, got {count}. |
billing.add_invoice_items_price_is_required | E1558 | 400 | invalid_request_error | add_invoice_items[].price is required. |
billing.billing_cycle_anchor_cannot_be_combined_with | E1560 | 400 | invalid_request_error | billing_cycle_anchor cannot be combined with a trial on connector {billing_connector}, which anchors the cycle to the end of the trial. Send only one of billing_cycle_anchor, trial_days or trial_end. |
billing.billing_cycle_anchor_must_be_a_future | E1561 | 400 | invalid_request_error | billing_cycle_anchor must be a future date; {in} has already passed in {loc} |
billing.cannot_create_subscription_fee_is_a_fixed | E1562 | 400 | invalid_request_error | Cannot create subscription: fee "{display_name}" ({id}) is a fixed amount in {currency}, but the subscription is in {currency_code}. |
billing.cannot_create_subscription_fee_is_inactive | E1563 | 400 | invalid_request_error | Cannot create subscription: fee "{display_name}" ({id}) is inactive. Activate it or remove it from default_fees. |
billing.cannot_invoice | E1564 | 400 | invalid_request_error | Cannot {verb} invoice: {value}. |
billing.cannot_invoice_product_is_inactive_activate_it | E1565 | 400 | invalid_request_error | Cannot {verb} invoice: product "{name}" ({id}) is inactive. Activate it or remove it from line_items. |
billing.cannot_its_total_of_minor_units_of | E1566 | 400 | invalid_request_error | Cannot {verb} {kind}: its total of {total} (minor units of {currency}) is over the maximum of {limit} its billing connector accepts. Lower the quantities or split it into several {kind_2}s. |
billing.cannot_renew_subscriptions_itself_so_paycose | E1567 | 400 | invalid_request_error | {connector} cannot renew subscriptions itself, so Paycose renews them. Choose paycose or leave scheduler empty. |
billing.cannot_retrieve_invoice_at_least_one_of | E1568 | 400 | invalid_request_error | Cannot retrieve invoice: at least one of customer_id or subscription_id is required. |
billing.cannot_withhold_tax_on_this_its_billing | E1569 | 400 | invalid_request_error | Cannot withhold tax on this {kind}: its billing connector "{connector}" hosts {kind_2}s, and Paycose records withholding only on documents it bills itself. Bill this customer through Paycose, or leave withholding_tax out. |
billing.customer_are_off_in_mode_turn_them | E1570 | 400 | invalid_request_error | Customer {what} are off in {mode} mode. Turn them on in Settings → Customer emails, then send it again. |
billing.customer_is_pinned_to_test_clock_so | E1571 | 400 | invalid_request_error | Customer {id} is pinned to test clock {test_clock_id}, so its subscriptions are created on that clock. Remove test_clock_id or pass the customer's clock. |
billing.default_payment_method_id_is_required_for | E1572 | 400 | invalid_request_error | default_payment_method.id is required for tokenizable payment methods |
billing.default_payment_method_id_or_default_payment | E1573 | 400 | invalid_request_error | default_payment_method.id or default_payment_method.type is required |
billing.document_must_be_one_of_invoice_quote | E1574 | 400 | invalid_request_error | document must be one of: invoice, quote, subscription, payment_link. |
billing.end_on_is_not_supported_for_this | E1575 | 400 | invalid_request_error | end_on is not supported for this subscription: it has no billing period to end on. |
billing.end_on_must_be_in_the_future | E1576 | 400 | invalid_request_error | end_on must be in the future: the subscription is canceled at that time. |
billing.end_on_must_fall_on_the_day | E1577 | 400 | invalid_request_error | end_on must fall on the day a billing period ends: this subscription is billed by Paycose, which cancels only at a period end. The nearest period ends are {around}. |
billing.invoice_already_has_a_payment_in_progress | E1578 | 409 | invalid_request_error | Invoice "{id}" already has a payment in progress (payment_intent "{id_2}" is {status}). Wait for it to finish, or cancel it, before paying again. |
billing.invoice_already_has_a_payment_in_progress_2 | E1579 | 409 | invalid_request_error | Invoice "{id}" already has a payment in progress. Wait for it to finish, or cancel it, before paying again. |
billing.invoice_withholds_tax_so_this_credit_note | E1580 | 400 | invalid_request_error | Invoice "{id}" withholds tax, so this credit note pays back at most {format_invoice_amount}: the withholding it reverses was never paid. Lower refund_amount, credit_amount and out_of_band_amount to {format_invoice_amount_2} in total. |
billing.missing_product_id | E1583 | 400 | invalid_request_error | missing product_id |
billing.missing_subscription_id | E1584 | 400 | invalid_request_error | missing subscription id |
billing.no_recurring_price_for_product_in_supply | E1586 | 400 | invalid_request_error | no recurring price for product "{id}" in {currency_code} — supply a price_id or create a recurring price. |
billing.on_behalf_of_cannot_be_set_this | E1587 | 400 | invalid_request_error | on_behalf_of cannot be set: this {document} is billed by {connector}, whose invoices never carry Connect terms. It applies only to an internally billed {document_2}. |
billing.pass_test_clock_id_or_name_and | E1589 | 400 | invalid_request_error | Pass test_clock_id, or name and frozen_time for a new clock. |
billing.payment_behavior_default_incomplete_is_not | E1590 | 400 | invalid_request_error | payment_behavior=default_incomplete is not supported for connector {billing_connector}, which bills subscriptions on its own side and needs a payment method up front. Pass default_payment_method.id, or use a country routed to a connector that bills internally. |
billing.price_currency_does_not_match_the_subscription | E1591 | 400 | invalid_request_error | price "{price_id}" currency "{currency}" does not match the subscription currency "{currency_code}". |
billing.price_has_no_external_reference_so_it | E1592 | 400 | invalid_request_error | price "{id}" has no external reference, so it cannot be billed by this connector. |
billing.price_is_one_time_but_line_items | E1593 | 400 | invalid_request_error | price "{price_id}" is one-time, but line_items requires a recurring price. Put one-time prices in add_invoice_items. |
billing.price_is_recurring_but_add_invoice_items | E1594 | 400 | invalid_request_error | price "{price_id}" is recurring, but add_invoice_items only accepts one-time prices. Put recurring prices in line_items. |
billing.product_id_is_required | E1595 | 400 | invalid_request_error | product_id is required |
billing.product_is_billed_per_unit_licensed_on | E1596 | 400 | invalid_request_error | Product {product_id} is billed per unit (licensed) on subscription {id}, so it takes no usage. Report usage only for a metered price. |
billing.product_is_not_on_subscription_report_usage | E1597 | 400 | invalid_request_error | Product {product_id} is not on subscription {id}. Report usage for a product on one of its metered lines. |
billing.quantity_must_be_more_than_0 | E1598 | 400 | invalid_request_error | quantity must be more than 0 |
billing.quantity_unit_price_is_larger_than_the | E1599 | 400 | invalid_request_error | quantity × unit price is larger than the largest amount an invoice line can hold. |
billing.scheduler_must_be_paycose_or_connector | E1600 | 400 | invalid_request_error | scheduler must be paycose or connector. |
billing.subscription_id_is_required | E1601 | 400 | invalid_request_error | subscription_id is required. |
billing.tax_rate_is_inactive_activate_it_or | E1602 | 400 | invalid_request_error | {prefix}: tax rate "{display_name}" ({id}) is inactive. Activate it or remove it from {param}. |
billing.the_metered_price_of_product_is_not | E1603 | 400 | invalid_request_error | The metered price of product {product_id} is not bound to a meter. Set usage_based.event_name when creating the price. |
billing.this_credit_note_pays_back_at_most | E1604 | 400 | invalid_request_error | This credit note pays back at most {format_invoice_amount} on invoice "{id}"; the rest of it lowers what is still due. Lower refund_amount, credit_amount and out_of_band_amount to {format_invoice_amount_2} in total. |
billing.this_invoice_has_no_customer_email_to | E1605 | 400 | invalid_request_error | This invoice has no customer email to send it to. Set the customer's email, then send it again. |
billing.this_payment_method_is_saved_on_a | E1606 | 400 | invalid_request_error | This payment method is saved on a different connector account, so the new account cannot charge it. Collect the card again on the new account, then move the subscription. |
billing.this_payment_method_was_saved_on_a | E1607 | 400 | invalid_request_error | This payment method was saved on a different {connector_family} account than the one this subscription bills on, so that account cannot charge it. Collect the card again for this subscription. |
billing.this_subscription_already_bills_on_that_connector | E1608 | 400 | invalid_request_error | This subscription already bills on that connector account. |
billing.this_subscription_has_a_repeating_discount_that | E1609 | 400 | invalid_request_error | This subscription has a repeating discount that is still running. Remove it, or wait for it to end, before moving the subscription. |
billing.this_subscription_is_not_billed_on_any | E1610 | 400 | invalid_request_error | This subscription is not billed on any connector, so there is nothing to move. Change its default payment method instead. |
billing.this_would_be_billed_by_whose_invoices | E1611 | 400 | invalid_request_error | This {document} would be billed by {connector}, whose invoices never carry Connect terms, but it copies a Connect document that must stay Connect. Bill it internally. |
billing.transfer_data_destination_cannot_be_changed_this | E1612 | 400 | invalid_request_error | transfer_data.destination cannot be changed: this {document} is billed by {connector}, which is never told of a new destination. Create a new {document_2} instead. |
billing.cannot_invoice_fee_could_not_be_registered | E2414 | 400 | invalid_request_error | Cannot {verb} invoice: fee "{name}" ({id}) could not be registered with connector "{connector}". |
billing.cannot_invoice_price_could_not_be_registered | E2415 | 400 | invalid_request_error | Cannot {verb} invoice: price "{id}" could not be registered with the connector. |
billing.cannot_invoice_price_is_not_registered_with | E2416 | 400 | invalid_request_error | Cannot {verb} invoice: price "{id}" is not registered with the connector. |
billing.cannot_invoice_shipping_rate_could_not_be_registered | E2417 | 400 | invalid_request_error | Cannot {verb} invoice: shipping rate "{name}" ({id}) could not be registered with connector "{connector}". |
billing.cannot_invoice_tax_rate_could_not_be | E2418 | 400 | invalid_request_error | Cannot {verb} invoice: tax rate "{display_name}" ({id}) could not be registered with the connector. |
billing.cannot_pay_invoice_payment_method_lookup_failed | E2419 | 400 | invalid_request_error | Cannot pay invoice "{id}": payment_method "{payment_method_id}" lookup failed — {message} |
billing.no_invoice_adapter_is_configured_for_connector | E2420 | 400 | invalid_request_error | No invoice adapter is configured for connector "{connector_name}". Contact support to enable invoice issuance via this connector. |
billing.the_connector_refused_the_update | E2421 | 400 | invalid_request_error | {reason} |
billing.tax_rate_could_not_loaded | E2527 | 400 | invalid_request_error | Tax rate "{tax_id}" could not be loaded. |
billing.tax_rate_inactive_activate_remove_from | E2528 | 400 | invalid_request_error | Tax rate "{display_name}" ({id}) is inactive. Activate it or remove it from default_tax_rates. |
billing.fee_could_not_loaded | E2529 | 400 | invalid_request_error | Fee "{fee_id}" could not be loaded. |
billing.fee_inactive_activate_remove_from_default | E2530 | 400 | invalid_request_error | Fee "{display_name}" ({id}) is inactive. Activate it or remove it from default_fees. |
billing.fee_has_no_computable_amount_fixed | E2531 | 400 | invalid_request_error | Fee "{display_name}" ({id}) has no computable amount — fixed_amount or percentage required, current baseAmount={base}. |
billing.fee_currency_does_not_match_invoice | E2532 | 400 | invalid_request_error | Fee "{display_name}" ({id}) currency "{currency}" does not match invoice currency "{currency_2}". |
billing.shipping_rate_could_not_loaded | E2533 | 400 | invalid_request_error | Shipping rate "{rate_id}" could not be loaded. |
billing.shipping_rate_inactive_activate_remove_from | E2534 | 400 | invalid_request_error | Shipping rate "{display_name}" ({id}) is inactive. Activate it or remove it from the request. |
billing.shipping_rate_currency_does_not_match | E2535 | 400 | invalid_request_error | Shipping rate "{display_name}" ({id}) currency "{currency}" does not match invoice currency "{currency_2}". |
billing.promotion_code_could_not_loaded | E2536 | 400 | invalid_request_error | Promotion code "{code_id}" could not be loaded. |
billing.coupon_could_not_loaded | E2537 | 400 | invalid_request_error | Coupon "{ref}" could not be loaded. |
billing.promotion_code_inactive_use_active_code | E2538 | 400 | invalid_request_error | Promotion code "{code}" ({id}) is inactive. Use an active code or remove it from the request. |
billing.coupon_inactive_activate_remove_from_request | E2539 | 400 | invalid_request_error | Coupon "{name}" ({id}) is inactive. Activate it or remove it from the request. |
billing.withholding_rate_not_thai | E2553 | 400 | invalid_request_error | withholding_tax.rate {rate} is not a Thai withholding rate. Use 1, 2, 3 or 5. |
billing.withholding_thb_only | E2554 | 400 | invalid_request_error | Thai withholding tax applies to THB documents only, and this one is in {currency}. |
billing.withholding_thai_accounts_only | E2555 | 400 | invalid_request_error | Thai withholding tax applies to Thai (TH) accounts only, and this one is "{country}". |
billing.withholding_customer_required | E2556 | 400 | invalid_request_error | A customer with a Thai tax ID (th_vat) is required, because only a business payer withholds tax. |
billing.withholding_customer_no_tax_id | E2557 | 400 | invalid_request_error | Customer "{customer_id}" has no Thai tax ID (th_vat). Add one to the customer, or leave withholding_tax out. |
billing.default_payment_method_was_saved_on_a | E3562 | 409 | invalid_request_error | Default payment method "{id}" was saved on a connector account that is no longer usable. Re-add the card, then create the {noun} again. |
billing.no_connector_that_can_issue_invoices_is | E3563 | 409 | invalid_request_error | No connector that can issue invoices is connected for this country and mode. Connect one in the dashboard, then try again. |
billing.subscriptions_can_only_move_to_the_connector | E3564 | 409 | invalid_request_error | Subscriptions can only move to the connector account that currently takes new payments. |
billing.the_new_subscription_would_not_be_created | E3565 | 409 | invalid_request_error | The new subscription would not be created on the requested connector account. |
billing.an_invoice_with_no_customer_has_no | E4953 | 402 | invalid_request_error | An invoice with no customer has no payment method to charge. Attach a customer, or use collection_method=send_invoice. |
billing.cannot_create_invoice_coupon_could_not_be_registered | E4954 | 500 | api_error | Cannot create invoice: coupon "{name}" ({id}) could not be registered with connector "{connector}". |
billing.cannot_create_invoice_promotion_code_could_not | E4955 | 500 | api_error | Cannot create invoice: promotion code "{code}" ({id}) could not be registered with connector "{connector_name}". |
billing.cannot_create_invoice_tax_rate_could_not_be_registered | E4956 | 500 | api_error | Cannot create invoice: tax rate "{name}" ({id}) could not be registered with connector "{connector}". |
billing.cannot_create_invoice_the_connector_refused | E4957 | 500 | api_error | Cannot create invoice: the connector refused or did not answer. |
billing.cannot_pay_invoice_payment_method_does_not | E4958 | 400 | invalid_request_error | Cannot pay invoice "{id}": payment_method "{id_2}" does not belong to the invoice's customer. |
billing.capture_method_is_not_available_for_payment | E4959 | 400 | invalid_request_error | capture_method="{capture_method_manual}" is not available for payment method "{method}": connector "{connector}" issues and collects the billing document itself and cannot hold an authorization. Use capture_method="{capture_method_automatic}", or route "{method_2}" to a connector that bills internally. |
billing.capture_method_is_not_available_in_no | E4960 | 400 | invalid_request_error | capture_method="{capture_method_manual}" is not available in {country}: no payment method routed for this country supports holding an authorization. Use capture_method="{capture_method_automatic}", or ask an administrator to route a method that does. |
billing.capture_method_is_not_supported_for_payment | E4961 | 400 | invalid_request_error | capture_method="{capture_method_manual}" is not supported for payment method(s) {unsupported}. Use capture_method="automatic", or restrict the selection to methods that support manual capture. |
billing.invoice_has_no_external_reference_cannot | E4962 | 409 | invalid_request_error | Invoice "{id}" has no external reference — cannot synchronize with connector. |
billing.invoice_is_already_paid | E4963 | 409 | invalid_request_error | Invoice "{id}" is already paid. |
billing.invoice_is_and_can_no_longer_be | E4964 | 409 | invalid_request_error | Invoice {id} is {status} and can no longer be changed. |
billing.invoice_is_not_in_draft_status_line | E4965 | 409 | invalid_request_error | Invoice "{id}" is not in draft status — line items can only be modified on draft invoices. |
billing.invoice_is_void_and_cannot_be_paid | E4966 | 409 | invalid_request_error | Invoice "{id}" is void and cannot be paid. |
billing.invoices_created_by_a_subscription_can_t | E4967 | 409 | invalid_request_error | Invoices created by a subscription can't be deleted. Edit the draft, or let it finalize and void it. |
billing.no_default_payment_method_is_set_on | E4968 | 402 | invalid_request_error | No default payment method is set on the invoice, its subscription, or the customer's invoice settings. Set one, or use collection_method=send_invoice. |
billing.on_behalf_of_needs_transfer_data_destination | E4969 | 400 | invalid_request_error | on_behalf_of "{on_behalf_of}" needs transfer_data.destination and must equal it. |
billing.only_draft_invoices_can_be_deleted_use | E4970 | 409 | invalid_request_error | Only draft invoices can be deleted. Use void or credit note for non-draft invoices. |
billing.payment_method_is_not_bound_to_a | E4971 | 402 | invalid_request_error | Payment method "{pm_id}" is not bound to a connector and cannot be charged off-session. |
billing.payment_method_type_on_connector_cannot_be | E4972 | 402 | invalid_request_error | Payment method type "{method}" on connector "{connector}" cannot be charged off-session. Use collection_method="{collection_method_send_invoice}". |
billing.price_of_product_is_recurring_and_invoices | E4973 | 400 | invalid_request_error | Price "{id}" of product "{name}" is recurring, and invoices bill one-time prices. Choose a one-time price, or bill it with a subscription. |
billing.product_has_only_recurring_prices_and_invoices | E4974 | 400 | invalid_request_error | Product "{name}" has only recurring prices, and invoices bill one-time prices. Add a one-time price to the product, or bill it with a subscription. |
billing.quote_is_and_can_no_longer_be | E4975 | 409 | invalid_request_error | Quote {quote_id} is {status} and can no longer be changed. |
billing.quote_is_line_items_pricing_and_collection | E4976 | 409 | invalid_request_error | Quote {quote_id} is {status}: line items, pricing and collection settings can only be changed while it is a draft. |
billing.the_invoice_is_marked_paid_here_but | E4977 | 500 | api_error | The invoice is marked paid here, but the connector's copy could not be marked paid, so the connector may still collect it. Mark it paid again to retry. |
billing.a_fee_on_this_subscription_could_not | E5616 | 500 | api_error | A fee on this subscription could not be registered with the connector. |
billing.a_guest_subscription_has_no_customer_to | E5617 | 400 | invalid_request_error | A guest subscription has no customer to pin the clock on, so it cannot be simulated. |
billing.a_price_on_this_subscription_could_not | E5618 | 500 | api_error | A price on this subscription could not be registered with the connector. |
billing.a_tax_rate_on_one_time_items_could_not | E5619 | 500 | api_error | A tax rate on this subscription's one-time items could not be registered with the connector. |
billing.bills_subscriptions_on_its_own_side_and | E5622 | 409 | invalid_request_error | {connector} bills subscriptions on its own side and does not offer a test clock, so time cannot be simulated for it. |
billing.coupon_and_billing_dates_cannot_be_updated | E5623 | 409 | invalid_request_error | coupon and billing dates cannot be updated from the subscription's current state |
billing.line_items_can_only_be_changed_while | E5624 | 409 | invalid_request_error | line items can only be changed while the subscription is trialing or active |
billing.no_such_coupon_or_promotion_code | E5625 | 404 | invalid_request_error | No such coupon or promotion code: "{ref}". |
billing.only_a_paused_subscription_can_be_resumed | E5626 | 409 | invalid_request_error | Only a paused subscription can be resumed; this one is {status}. |
billing.only_an_active_trialing_or_past_due | E5627 | 409 | invalid_request_error | Only an active, trialing or past-due subscription can move; this one is {status}. |
billing.pins_a_test_clock_on_the_customer | E5628 | 409 | invalid_request_error | {connector} pins a test clock on the customer when the customer is created, so an existing subscription cannot be moved onto one. Use "Create subscription on this clock" instead. |
billing.the_coupon_could_not_be_registered_with | E5629 | 500 | api_error | The coupon could not be registered with the connector. |
billing.the_coupon_on_this_subscription_could_not | E5630 | 500 | api_error | The coupon on this subscription could not be registered with the connector. |
billing.the_customer_on_this_subscription_could_not | E5631 | 500 | api_error | The customer on this subscription could not be registered with the connector. |
billing.the_connector_refused_or_did_not_answer | E5632 | 500 | api_error | The connector refused or did not answer the subscription. |
billing.the_connector_refused_or_did_not_answer_2 | E5633 | 500 | api_error | The connector refused or did not answer the subscription update. |
billing.the_subscription_has_no_product_line_items | E5634 | 400 | invalid_request_error | The subscription has no product line items to recreate on the clock. |
billing.this_clock_belongs_to_so_it_can | E5636 | 409 | invalid_request_error | This clock belongs to {connector}, so it can only drive subscriptions billed by {connector_2}. This one is billed by {connector_id}. |
billing.this_invoice_can_no_longer_take_a | E5638 | 409 | invalid_request_error | This invoice can no longer take a promotion code. |
billing.this_invoice_s_billing_connector_cannot_take | E5640 | 409 | invalid_request_error | This invoice's billing connector cannot take a promotion code on it now, so it can only be paid in full. |
billing.this_invoice_s_tax_cannot_be_figured | E5641 | 409 | invalid_request_error | This invoice's tax cannot be figured again, so a promotion code cannot be applied to it. |
billing.this_subscription_already_has_a_discount_applied | E5643 | 409 | invalid_request_error | This subscription already has a discount applied. |
billing.this_subscription_has_ended_and_can_no | E5644 | 409 | invalid_request_error | this subscription has ended and can no longer be changed |
billing.this_subscription_is_already_set_to_end | E5645 | 409 | invalid_request_error | This subscription is already set to end at the period end, so there is nothing to continue on another account. |
billing.this_subscription_is_billed_by_which_keeps | E5646 | 409 | invalid_request_error | This subscription is billed by {connector_id}, which keeps its own clock. Create the subscription on a {connector_id_2} test clock instead. |
billing.this_subscription_s_current_period_has_already | E5647 | 409 | invalid_request_error | This subscription's current period has already ended; wait for it to renew, then move it. |
billing.trial_fields_can_only_be_updated_while | E5648 | 409 | invalid_request_error | trial fields can only be updated while the subscription is trialing or active |
billing_portal
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
billing_portal.customer_is_required | E1613 | 400 | invalid_request_error | customer is required. |
billing_portal.invoice_has_no_withholding_tax_certificate_one | E1614 | 400 | invalid_request_error | Invoice "{id}" has no withholding tax certificate: one is issued only for a paid invoice that withheld tax (status {status}, amount_withholding {amount_withholding}). |
billing_portal.login_page_url_is_not_set_by | E1615 | 400 | invalid_request_error | login_page.url is not set by a request. |
billing_portal.only_none_is_supported_canceling_from_the | E1616 | 400 | invalid_request_error | Only none is supported: canceling from the portal never prorates the unused part of the period. |
billing_portal.plan_changes_from_the_portal_apply_at | E1617 | 400 | invalid_request_error | Plan changes from the portal apply at once; scheduling them for the period end needs subscription schedules, which are not offered. |
billing_portal.retention_coupon_is_not_one_of_your | E1618 | 400 | invalid_request_error | retention_coupon "{coupon_id}" is not one of your coupons. |
billing_portal.that_cancellation_reason_is_not_one_of | E1619 | 400 | invalid_request_error | That cancellation reason is not one of the offered options. |
billing_portal.the_shareable_login_page_where_customers_sign | E1620 | 400 | invalid_request_error | The shareable login page, where customers sign in by email, is not offered. Give each customer a portal link from POST /billing_portal/sessions. |
billing_portal.a_billing_portal_session_cannot_be_opened | E8013 | 404 | invalid_request_error | A billing portal session cannot be opened for a system customer. |
billing_portal.a_billing_portal_session_cannot_be_opened_2 | E8014 | 404 | invalid_request_error | A billing portal session cannot be opened for the application's own customer. |
billing_portal.after_completion_redirect_requires_a_return_url | E8015 | 400 | invalid_request_error | after_completion.redirect requires a return_url. |
billing_portal.cancellation_reasons_are_not_collected_by_this | E8016 | 403 | permission_error | Cancellation reasons are not collected by this billing portal. |
billing_portal.cannot_be_changed_from_this_billing_portal | E8017 | 403 | permission_error | {field} cannot be changed from this billing portal. |
billing_portal.changing_quantity_is_not_enabled_for_this | E8018 | 403 | permission_error | Changing quantity is not enabled for this billing portal. |
billing_portal.flow_data_requires_a_subscription_for | E8019 | 400 | invalid_request_error | flow_data requires a subscription for {type}. |
billing_portal.is_not_enabled_for_this_billing_portal | E8020 | 403 | permission_error | {name} is not enabled for this billing portal. |
billing_portal.payment_method_update_is_not_enabled_for | E8021 | 403 | permission_error | payment_method_update is not enabled for this portal configuration. |
billing_portal.promotion_codes_cannot_be_applied_from_this | E8022 | 403 | permission_error | Promotion codes cannot be applied from this billing portal. |
billing_portal.subscription_cancel_is_not_enabled_for_this | E8023 | 403 | permission_error | subscription_cancel is not enabled for this portal configuration. |
billing_portal.subscription_update_confirm_requires_items | E8024 | 400 | invalid_request_error | subscription_update_confirm requires items. |
billing_portal.subscription_update_is_not_enabled_for_this | E8025 | 403 | permission_error | subscription_update is not enabled for this portal configuration. |
billing_portal.subscriptions_with_more_than_one_product_cannot | E8026 | 422 | invalid_request_error | Subscriptions with more than one product cannot be changed from the billing portal. |
billing_portal.switching_plans_is_not_enabled_for_this | E8027 | 403 | permission_error | Switching plans is not enabled for this billing portal. |
billing_portal.tax_id_is_not_managed_from_this | E8028 | 403 | permission_error | tax_id is not managed from this billing portal. |
billing_portal.that_subscription_does_not_belong_to_this | E8029 | 404 | invalid_request_error | That subscription does not belong to this customer. |
billing_portal.this_billing_portal_offers_no_discount_for | E8030 | 403 | permission_error | This billing portal offers no discount for staying. |
billing_portal.this_subscription_has_ended | E8031 | 422 | invalid_request_error | This subscription has ended. |
billing_portal.this_subscription_has_no_line_item_to | E8032 | 422 | invalid_request_error | This subscription has no line item to change. |
billing_portal.unknown_after_completion_type | E8033 | 400 | invalid_request_error | Unknown after_completion type {type}. |
billing_portal.unknown_flow_type | E8034 | 400 | invalid_request_error | Unknown flow type {type}. |
billing_portal.usage_based_subscriptions_cannot_be_changed_from | E8035 | 422 | invalid_request_error | Usage-based subscriptions cannot be changed from the billing portal. |
billing_portal.configuration.not_found | E8980 | 404 | invalid_request_error | The requested billing portal configuration could not be found. Check the id and try again. |
billing_portal.configuration.create.failed | E8981 | 500 | api_error | The billing portal configuration could not be created. Verify the request body and try again. |
billing_portal.configuration.update.failed | E8982 | 500 | api_error | The billing portal configuration could not be updated. Verify the request and try again. |
billing_portal.configuration.retrieve.failed | E8983 | 500 | api_error | We couldn't load this billing portal configuration. Check the id and try again. |
billing_portal.configuration.list.failed | E8984 | 500 | api_error | We couldn't load the billing portal configurations. Try again shortly. |
billing_portal.configuration.inactive | E8985 | 409 | invalid_request_error | That billing portal configuration is not active and cannot be used to create a session. |
billing_portal.configuration.mode_mismatch | E8986 | 409 | invalid_request_error | That billing portal configuration belongs to the other mode. Use a configuration created in the same live/test mode. |
billing_portal.session.not_found | E8987 | 404 | invalid_request_error | The billing portal session could not be found. |
billing_portal.session.create.failed | E8988 | 500 | api_error | The billing portal session could not be created. Verify the request body and try again. |
billing_portal.session.expired | E8989 | 401 | authentication_error | This billing portal session has expired. Ask the merchant for a new link. |
billing_portal.feature.disabled | E8990 | 403 | permission_error | That action is not enabled for this billing portal. |
billing_portal.field.not_updatable | E8991 | 403 | permission_error | That field cannot be changed from the billing portal. |
billing_portal.price.not_allowed | E8992 | 403 | permission_error | That plan is not offered in this billing portal. |
billing_portal.subscription.not_updatable | E8993 | 422 | invalid_request_error | This subscription cannot be changed from the billing portal. Contact the merchant to make changes. |
billing_portal.resource.forbidden | E8994 | 404 | invalid_request_error | That resource does not belong to this customer. |
billing_portal.flow.invalid | E8995 | 400 | invalid_request_error | The requested portal flow is invalid. Check flow_data and try again. |
billing_portal.document.render.failed | E8996 | 500 | api_error | We couldn't produce that document. Try again shortly. |
charge
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
charge.charge_amount_refunded_is_required_when_refunded | E1621 | 400 | invalid_request_error | Charge "{id}": amount_refunded is required when refunded=true. |
charge.charge_settlement_status_is_not_one_of | E1622 | 400 | invalid_request_error | Charge "{id}": settlement_status "{settlement_status}" is not one of pending|settled|needs_reconcile. |
charge.charge_has_already_been_canceled | E2422 | 400 | invalid_request_error | Charge "{id}" has already been canceled. |
charge.charge_has_already_been_captured | E2423 | 400 | invalid_request_error | Charge "{id}" has already been captured. |
charge.charge_has_already_been_paid | E2424 | 400 | invalid_request_error | Charge "{id}" has already been paid. |
charge.charge_has_already_been_refunded | E2425 | 400 | invalid_request_error | Charge "{id}" has already been refunded. |
charge.charge_is_a_promptpay_charge_reference_id | E2426 | 400 | invalid_request_error | Charge "{id}" is a PromptPay charge — reference_id is owned by the system and cannot be overwritten. |
charge.no_charge_was_found_for_reference_id | E2427 | 400 | invalid_request_error | No charge was found for reference_id "{reference_id}". Verify the reference and that it belongs to your application. |
charge.not_found | E4100 | 404 | invalid_request_error | We couldn't find this charge. Check the id and that it belongs to your application. |
charge.create.failed | E4101 | 500 | api_error | The charge could not be created. Verify the amount, currency, and customer fields, then try again. |
charge.already.captured | E4102 | 409 | invalid_request_error | This charge was already captured and cannot be captured again. |
charge.already.canceled | E4103 | 409 | invalid_request_error | This charge was already canceled. No further action is needed. |
charge.already.refunded | E4104 | 409 | invalid_request_error | This charge was already refunded. Issue a new refund only if a portion is still outstanding. |
charge.already.paid | E4105 | 409 | invalid_request_error | This charge is already paid. No further payment is required. |
charge.method.unsupported | E4106 | 400 | invalid_request_error | The selected payment method is not supported for this charge. Choose a supported method (e.g. card, promptpay). |
charge.amount.invalid | E4107 | 400 | invalid_request_error | The charge amount must be greater than 0. |
charge.currency.invalid | E4108 | 400 | invalid_request_error | The requested currency is not supported for this charge. |
charge.capture.exceeds | E4109 | 400 | invalid_request_error | The amount to capture exceeds the original charge amount. |
charge.capture.negative | E4110 | 400 | invalid_request_error | The amount to capture must be zero or greater. |
charge.customer.required | E4111 | 400 | invalid_request_error | A customer is required to create this charge. |
charge.merchant.missing | E4112 | 500 | api_error | The merchant is not configured for charges. Contact support to enable charge acceptance. |
charge.capture.method_invalid | E4113 | 400 | invalid_request_error | The capture method must be either 'manual' or 'automatic'. |
charge.capture.method_required | E4114 | 400 | invalid_request_error | A capture method is required. Choose 'manual' or 'automatic'. |
charge.capture.not_ready | E4115 | 409 | invalid_request_error | This charge is not ready to capture — it has no settled connector authorization yet. If the payment just completed, retry in a moment. |
charge.promptpay.auto_only | E4116 | 400 | invalid_request_error | PromptPay charges only support automatic capture. |
charge.promptpay.thb_only | E4117 | 400 | invalid_request_error | PromptPay charges are available in THB only. |
charge.pay.failed | E4118 | 500 | api_error | The payment could not be processed. Try again, or use a different payment method. |
charge.capture.failed | E4119 | 500 | api_error | The capture did not complete. The charge was not captured — try again, or cancel and create a new charge. |
charge.cancel.failed | E4120 | 500 | api_error | The charge could not be canceled. Check its current status and try again. |
charge.retrieve.failed | E4122 | 500 | api_error | We couldn't load this charge. Check the id and try again. |
charge.finite_state | E4123 | 409 | invalid_request_error | This charge is already in a final state and cannot be modified. |
charge.guest.session_failed | E4124 | 500 | api_error | We couldn't start the guest payment session. Try again, or sign in to continue. |
charge.guest.not_for_charge | E4125 | 400 | invalid_request_error | This session was not created for a charge. |
charge.guest.create_failed | E4126 | 500 | api_error | The guest payment could not be created. Try again, or sign in to continue. |
charge.promptpay.unexpected | E4127 | 500 | api_error | An unexpected error happened while processing the PromptPay charge. Try again shortly. |
charge.capture.unexpected | E4128 | 500 | api_error | An unexpected error happened while capturing the charge. Verify the charge state before retrying. |
charge.cancel.unexpected | E4129 | 500 | api_error | An unexpected error happened while canceling the charge. Verify the charge state before retrying. |
charge.reference_id.immutable | E4130 | 400 | invalid_request_error | The reference_id on a PromptPay charge cannot be changed once issued. |
charge.stats.failed | E4131 | 500 | api_error | We couldn't compute charge statistics right now. Try again shortly. |
charge.update.failed | E4132 | 500 | api_error | The charge could not be updated. Check the fields you sent and try again. |
charge.delete.failed | E4133 | 500 | api_error | The charge could not be deleted. Check its current status and try again. |
charge.list.failed | E4134 | 500 | api_error | We couldn't list charges right now. Try again, or narrow the filter. |
charge.not_paid | E4135 | 409 | invalid_request_error | This operation requires the charge to be paid first. |
charge.payment_method.orphan | E4136 | 400 | invalid_request_error | The payment_method is not linked to any customer. Attach it to a customer first. |
charge.payment_method.mismatch | E4137 | 400 | invalid_request_error | The payment_method belongs to a different customer than the one on this charge. |
charge.fraud.config | E4138 | 500 | api_error | Fraud screening is misconfigured for this merchant. Contact support. |
charge.fraud.unavailable | E4139 | 503 | api_error | Fraud screening is unavailable right now. Try again shortly. |
charge.fraud.hold | E4140 | 402 | card_error | This charge is held pending fraud review. We'll notify you when the review completes. |
charge.fraud.blocked | E4141 | 402 | card_error | Your card was declined. |
charge.inquiry.failed | E4142 | 500 | api_error | We couldn't check this charge's status with the connector. Try again shortly. |
charge.capture.manual_unsupported | E4143 | 400 | invalid_request_error | Manual capture is not supported for this payment method. Use capture_method=automatic, or choose a payment method that supports authorization and capture. |
charge.payment_method.connector_pin | E4144 | 400 | invalid_request_error | This saved payment method belongs to a different connector and cannot be charged through the one selected. Charge it on its original connector, or save the card again. |
charge.capture.partial_unsupported | E4145 | 400 | invalid_request_error | This authorization can only be captured in full. Capture the whole authorized amount, or cancel it and create a new payment for the amount you want. |
charge.card.declined | E4150 | 402 | card_error | The card was declined by the issuer. Try a different card, or contact your bank. |
charge.card.expired | E4151 | 402 | card_error | The card has expired. Use a different card with a valid expiry date. |
charge.card.fraud | E4152 | 402 | card_error | The card was flagged by the issuer as suspicious. Contact your bank, or use a different card. |
charge.card.insufficient_funds | E4153 | 402 | card_error | The card has insufficient funds. Use a different card, or fund this one and retry. |
charge.card.cvc_failed | E4154 | 402 | card_error | The card CVC didn't match. Double-check the 3-digit code on the back of the card. |
charge.card.processing | E4155 | 402 | card_error | The card couldn't be processed by the issuer. Try again in a moment, or use a different card. |
charge.card.limit_exceeded | E4156 | 402 | card_error | This payment is over the card's spending limit. Use a different card, or contact your bank. |
charge.installment.term_unavailable | E4162 | 400 | invalid_request_error | That installment plan is not available for this payment. Choose one of the plans shown at checkout. |
charge.installment.card_not_eligible | E4163 | 400 | invalid_request_error | This card can't use the selected installment plan. Choose the card you're paying with. |
charge.otp.expired | E4164 | 400 | invalid_request_error | That one-time password has expired. Request a new code and try again. |
charge.otp.too_many_attempts | E4165 | 429 | rate_limit_error | Too many attempts. Wait a moment, then request a new code. |
charge.installment.server_initiated | E4166 | 400 | invalid_request_error | An installment plan cannot be charged server-side. Create a checkout session and send the payer to its URL. |
charge.otp.unsupported | E4167 | 400 | invalid_request_error | This payment connector does not use a one-time password. Continue with the step shown at checkout. |
charge.otp.required | E4168 | 400 | invalid_request_error | Enter the one-time password your bank sent to finish this payment. |
charge.otp.invalid | E4169 | 400 | invalid_request_error | That one-time password is not correct. Check the code your bank sent and try again. |
charge.expired | E4170 | 409 | invalid_request_error | This payment expired before it was completed. Start a new payment to try again. |
charge.qr.expired | E4171 | 409 | invalid_request_error | This QR code has expired. Request a new QR code to pay. |
charge.redirect.expired | E4172 | 409 | invalid_request_error | The payment window expired before you returned from your bank. Start a new payment to try again. |
charge.voucher.expired | E4173 | 409 | invalid_request_error | This payment voucher has expired. Request a new one to pay. |
charge.connector.timeout | E4180 | 504 | api_error | The payment connector did not respond in time. Try again shortly. |
charge.connector.error | E4181 | 502 | api_error | The payment connector returned an error. Try again, or contact support if the issue persists. |
charge.connector.adapter_missing | E4182 | 500 | api_error | No adapter is configured for this payment connector. Contact support. |
charge.cannot_capture_charge_amount_captured_cannot | E4978 | 400 | invalid_request_error | Cannot capture charge "{id}": amount_captured ({amount_captured}) cannot exceed the charge amount ({amount}). |
charge.cannot_capture_charge_amount_captured_must_be | E4979 | 400 | invalid_request_error | Cannot capture charge "{id}": amount_captured must be >= 0 (received {amount_captured}). |
checkout_session
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
checkout_session.a_checkout_needs_a_total_above_zero | E1623 | 400 | invalid_request_error | A checkout needs a total above zero. |
checkout_session.a_checkout_session_for_this_idempotency_key | E1624 | 409 | invalid_request_error | A checkout session for this idempotency key is still being created. Retry in a moment. |
checkout_session.a_payment_session_collects_either_line_items | E1625 | 400 | invalid_request_error | A payment session collects either line_items or a target_type and target_id, not both. |
checkout_session.billing_cycle_anchor_cannot_be_combined_with | E1626 | 400 | invalid_request_error | billing_cycle_anchor cannot be combined with a trial on connector {connector}, which anchors the cycle to the end of the trial. Send only one of billing_cycle_anchor, trial_period_days or trial_end. |
checkout_session.billing_cycle_anchor_must_be_a_future | E1627 | 400 | invalid_request_error | billing_cycle_anchor must be a future date on connector {connector}. |
checkout_session.card_connector_cannot_charge_a_saved_card | E1628 | 400 | invalid_request_error | Card connector {card_connector} cannot charge a saved card without the customer present, so it cannot renew a subscription. |
checkout_session.card_connector_cannot_save_a_card_for | E1629 | 400 | invalid_request_error | Card connector {connector} cannot save a card for future billing, so it cannot start a trial subscription. |
checkout_session.checkout_from_a_payment_intent_is_not | E1630 | 400 | invalid_request_error | Checkout from a payment intent is not available. |
checkout_session.checkout_from_line_items_is_not_available | E1631 | 400 | invalid_request_error | Checkout from line items is not available. |
checkout_session.choose_at_least_one_item_to_buy | E1632 | 400 | invalid_request_error | Choose at least one item to buy. |
checkout_session.collection_method_requires_every_payment_method | E1633 | 400 | invalid_request_error | collection_method="{collection_method_charge_automatically}" requires every payment_method_types entry to support off-session billing; these do not: {not_off_session}. Remove them, or use collection_method="{collection_method_send_invoice}". |
checkout_session.enter_the_address_to_ship_this_order | E1634 | 400 | invalid_request_error | Enter the address to ship this order to before you pay. |
checkout_session.enter_the_name_and_street_address_to | E1635 | 400 | invalid_request_error | Enter the name and street address to ship to. |
checkout_session.enter_your_billing_details_before_saving_a | E1636 | 400 | invalid_request_error | Enter your billing details before saving a card or starting a subscription. |
checkout_session.enter_your_name_and_email_before_you | E1637 | 400 | invalid_request_error | Enter your name and email before you pay. |
checkout_session.enter_your_name_and_email_before_you_2 | E1638 | 400 | invalid_request_error | Enter your name and email before you pay: this purchase is invoiced to you. |
checkout_session.invoicing_a_checkout_is_not_available | E1639 | 400 | invalid_request_error | Invoicing a checkout is not available. |
checkout_session.line_items_is_required_when_mode_is | E1640 | 400 | invalid_request_error | line_items is required when mode is subscription or setup. |
checkout_session.mode_credit_topup_is_no_longer_supported | E1641 | 400 | invalid_request_error | mode=credit_topup is no longer supported: customer credit has been retired. |
checkout_session.no_card_connector_is_configured_for_this | E1642 | 400 | invalid_request_error | No card connector is configured for this application, so a subscription cannot be collected. |
checkout_session.no_payment_method_this_account_offers_can | E1643 | 400 | invalid_request_error | No payment method this account offers can be charged off-session, so a {mode} checkout has nothing to offer.{hint} |
checkout_session.no_saved_card_was_found_for_this | E1644 | 409 | invalid_request_error | No saved card was found for this checkout. Add a card and try again. |
checkout_session.none_of_the_requested_payment_method_types | E1645 | 400 | invalid_request_error | None of the requested payment_method_types are accepted for this checkout. |
checkout_session.only_an_invoice_has_a_paid_view | E1646 | 409 | invalid_request_error | Only an invoice has a paid view. |
checkout_session.only_an_open_checkout_session_can_be | E1647 | 409 | invalid_request_error | Only an open checkout session can be expired; this one is {status}. |
checkout_session.payment_method_collection_if_required_is_not | E1648 | 400 | invalid_request_error | payment_method_collection=if_required is not supported for connector {connector}, which needs the payer's card before the subscription exists. Omit it, or send always. |
checkout_session.payment_method_type_cannot_be_charged_off | E1650 | 400 | invalid_request_error | payment_method.type="{method_type}" cannot be charged off-session, so it cannot pay a subscription that renews automatically. Choose a method this checkout lists. |
checkout_session.price_is_a_payment_session_sells_one | E1651 | 400 | invalid_request_error | Price "{id}" is {kind}; a payment session sells one-time prices. Use mode subscription for recurring prices. |
checkout_session.price_is_in_but_the_session_s | E1652 | 400 | invalid_request_error | Price "{id}" is in {currency}, but the session's other prices are in {currency_2}. |
checkout_session.price_is_not_a_recurring_price_so | E1653 | 400 | invalid_request_error | Price {price_id} is not a recurring price, so it cannot start a subscription. |
checkout_session.promotion_code_and_allow_promotion_codes_cannot | E1654 | 400 | invalid_request_error | promotion_code and allow_promotion_codes cannot be used together. Either apply a code yourself or let the payer enter one. |
checkout_session.promotion_code_and_subscription_data_coupon | E1655 | 400 | invalid_request_error | promotion_code and subscription_data.coupon cannot be used together. Send one discount. |
checkout_session.promotion_code_is_not_taken_with_line | E1656 | 400 | invalid_request_error | promotion_code is not taken with line_items; set allow_promotion_codes so the payer enters it. |
checkout_session.provide_at_least_one_billing_or_tax | E1657 | 400 | invalid_request_error | Provide at least one billing or tax field. |
checkout_session.quantities_can_no_longer_change_payment_for | E1658 | 409 | invalid_request_error | Quantities can no longer change: payment for this checkout has started. |
checkout_session.saving_a_card_during_checkout_is_not | E1659 | 400 | invalid_request_error | Saving a card during checkout is not available. |
checkout_session.subscription_checkout_is_not_available | E1660 | 400 | invalid_request_error | Subscription checkout is not available. |
checkout_session.subscription_data_is_required_when_mode_is | E1661 | 400 | invalid_request_error | subscription_data is required when mode is subscription or setup. |
checkout_session.target_id_is_required | E1662 | 400 | invalid_request_error | target_id is required. |
checkout_session.target_type_must_be_one_of_invoice | E1663 | 400 | invalid_request_error | target_type must be one of: invoice, payment_intent. |
checkout_session.tax_ids_cannot_be_collected_on_this | E1664 | 400 | invalid_request_error | Tax IDs cannot be collected on this checkout. |
checkout_session.the_billing_details_on_this_checkout_have | E1665 | 409 | invalid_request_error | The billing details on this checkout have been changed too many times. Start a new checkout. |
checkout_session.the_quantity_of_cannot_be_changed | E1666 | 400 | invalid_request_error | The quantity of "{name}" cannot be changed. |
checkout_session.the_quantity_of_must_be_between_and | E1667 | 400 | invalid_request_error | The quantity of "{name}" must be between {minimum} and {maximum}. |
checkout_session.this_application_has_no_enabled_payment_connector | E1668 | 400 | invalid_request_error | This application has no enabled payment connector, so a subscription cannot be collected. |
checkout_session.this_card_is_saved_with_connector_but | E1669 | 400 | invalid_request_error | This card is saved with connector {connector_id}, but the subscription is billed by {connector}. Add the card on this page and try again. |
checkout_session.this_checkout_cannot_save_a_payer_so | E1670 | 400 | invalid_request_error | This checkout cannot save a payer, so a card cannot be stored. |
checkout_session.this_checkout_does_not_collect_a_shipping | E1671 | 400 | invalid_request_error | This checkout does not collect a shipping address. |
checkout_session.this_checkout_has_already_been_paid | E1672 | 409 | invalid_request_error | This checkout has already been paid. |
checkout_session.this_checkout_has_no_line | E1673 | 400 | invalid_request_error | This checkout has no line "{id}". |
checkout_session.this_checkout_is_already_being_completed_wait | E1674 | 409 | invalid_request_error | This checkout is already being completed. Wait a moment, then check its status before trying again. |
checkout_session.this_checkout_is_no_longer_editable | E1675 | 409 | invalid_request_error | This checkout is no longer editable. |
checkout_session.this_checkout_s_quantities_are_fixed | E1676 | 400 | invalid_request_error | This checkout's quantities are fixed. |
checkout_session.this_checkout_s_subscription_is_already_being | E1677 | 409 | invalid_request_error | This checkout's subscription is already being created. Check its status before trying again. |
checkout_session.this_checkout_session_has_no_customer_to | E1678 | 400 | invalid_request_error | This checkout session has no customer to attach a card to. |
checkout_session.this_installment_plan_does_not_let_the | E1679 | 400 | invalid_request_error | This installment plan does not let the payer use card points. |
checkout_session.this_invoice_can_no_longer_be_paid | E1680 | 409 | invalid_request_error | This invoice can no longer be paid. |
checkout_session.this_invoice_has_no_outstanding_balance_to | E1681 | 409 | invalid_request_error | This invoice has no outstanding balance to collect. Finalize it first, or check that it isn't already settled. |
checkout_session.this_invoice_is_already_paid | E1682 | 409 | invalid_request_error | This invoice is already paid. |
checkout_session.this_invoice_is_not_paid_yet | E1683 | 409 | invalid_request_error | This invoice is not paid yet. |
checkout_session.this_order_ships_only_to | E1684 | 400 | invalid_request_error | This order ships only to {shipping_countries}. |
checkout_session.this_payment_intent_can_no_longer_be | E1685 | 409 | invalid_request_error | This payment intent can no longer be paid. |
checkout_session.this_payment_intent_has_no_amount_to | E1686 | 409 | invalid_request_error | This payment intent has no amount to collect. |
checkout_session.this_payment_link_has_no_active_collection | E1687 | 409 | invalid_request_error | This payment link has no active collection intent to charge. |
checkout_session.this_payment_method_is_not_allowed_for | E1688 | 403 | permission_error | This payment method is not allowed for this checkout. |
checkout_session.this_saved_payment_method_does_not_belong | E1689 | 403 | permission_error | This saved payment method does not belong to this customer. |
checkout_session.this_session_was_not_created_for_checkout | E1690 | 400 | invalid_request_error | This session was not created for checkout. |
checkout_session.your_card_is_still_being_saved_try | E1692 | 409 | invalid_request_error | Your card is still being saved. Try again in a moment. |
checkout_session.expired | E4198 | 410 | invalid_request_error | This checkout session has expired. Return to the merchant to start again. |
checkout_session.a_different_promotion_code_is_already_applied | E5649 | 409 | invalid_request_error | A different promotion code is already applied to this payment. |
checkout_session.invoice_is_billed_by_its_payment_connector | E5650 | 400 | invalid_request_error | Invoice "{target_id}" is billed by its payment connector, which won't apply a promotion code to it now. Create the invoice with the discount instead. |
checkout_session.this_checkout_already_has_a_discount_applied | E5651 | 409 | invalid_request_error | This checkout already has a discount applied. |
checkout_session.this_payment_is_already_in_progress_so | E5654 | 409 | invalid_request_error | This payment is already in progress, so a promotion code can no longer be applied. |
checkout_session.this_promotion_code_was_applied_by_the | E5655 | 409 | invalid_request_error | This promotion code was applied by the merchant, so it cannot be removed at checkout. |
checkout_session.this_promotion_code_would_reduce_the_amount_2 | E5657 | 400 | invalid_request_error | This promotion code would reduce the amount due to zero. |
collection
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
collection.invoice_id_required | E1693 | 400 | invalid_request_error | invoice_id required |
collection.defaulters.list_failed | E8910 | 500 | api_error | We couldn't build the defaulter summary. Try again shortly. |
collection.summary.failed | E8911 | 500 | api_error | We couldn't build the collections summary. Try again shortly. |
collection.defaulter.not_found | E8912 | 404 | invalid_request_error | No overdue balance was found for this customer. Check the key and try again. |
collection.key.invalid | E8913 | 400 | invalid_request_error | The customer key is invalid. Use the key returned by the list endpoint. |
collection.case.save_failed | E8916 | 500 | api_error | The collection case could not be saved. Try again shortly. |
collection.case.status_invalid | E8917 | 400 | invalid_request_error | The collection case status is invalid. Use one of the supported statuses. |
collection.case.note_empty | E8918 | 400 | invalid_request_error | The note body is required. Add a note and try again. |
collection.retry.failed | E8919 | 500 | api_error | The collection attempt could not be started. Try again shortly. |
collection.attempts.list_failed | E8920 | 500 | api_error | We couldn't load the collection attempts. Try again shortly. |
collection.attempt.record_failed | E8921 | 500 | api_error | The collection attempt could not be recorded. Try again shortly. |
collection.attempt.outcome_invalid | E8922 | 400 | invalid_request_error | The outcome filter is invalid. Use pending, recovered or still_overdue. |
core
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
core.a_label_can_be_at_most_characters | E1702 | 400 | invalid_request_error | a label can be at most {max_label_runes} characters |
core.a_label_cannot_be_blank | E1703 | 400 | invalid_request_error | a label cannot be blank |
core.a_label_must_be_valid_utf_8 | E1704 | 400 | invalid_request_error | a label must be valid UTF-8 |
core.a_resource_can_have_at_most_labels | E1705 | 400 | invalid_request_error | a resource can have at most {max_labels} labels, got {value} |
core.label_cannot_contain_a_comma | E1706 | 400 | invalid_request_error | label "{label}" cannot contain a comma |
core.label_cannot_contain_a_control_character | E1707 | 400 | invalid_request_error | label "{label}" cannot contain a control character |
coupon
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
coupon.coupon_id_is_required | E1708 | 400 | invalid_request_error | coupon id is required |
coupon.max_redemptions_cannot_be_below_the_times | E1709 | 400 | invalid_request_error | max_redemptions cannot be below the {times_redeemed} times this coupon was already redeemed. |
coupon.currency_is_required_with_fixed_amount | E2429 | 400 | invalid_request_error | currency is required with fixed_amount. |
coupon.duration_in_months_is_required_when_repeating | E2430 | 400 | invalid_request_error | duration_in_months is required when duration is repeating. |
coupon.duration_in_months_only_when_repeating | E2431 | 400 | invalid_request_error | duration_in_months is only accepted when duration is repeating. |
coupon.duration_must_be_once_repeating_or_forever | E2432 | 400 | invalid_request_error | duration must be once, repeating or forever. |
coupon.send_exactly_one_of_percentage_and_fixed_amount | E2433 | 400 | invalid_request_error | Send exactly one of percentage and fixed_amount. |
coupon.not_found | E5300 | 404 | invalid_request_error | The requested coupon could not be found. Check the id and try again. |
coupon.create.failed | E5301 | 500 | api_error | The coupon could not be created. Verify the request body and try again. |
coupon.update.failed | E5302 | 500 | api_error | The coupon could not be updated. Verify the request and try again. |
coupon.retrieve.failed | E5303 | 500 | api_error | We couldn't load this coupon. Check the id and try again. |
coupon.delete.failed | E5304 | 500 | api_error | The coupon could not be deleted. Try again shortly, or contact support if the issue persists. |
coupon.id.required | E5305 | 400 | invalid_request_error | A coupon_id is required for this operation. Provide a valid coupon identifier and retry. |
coupon.max_redemptions_reached | E5371 | 400 | invalid_request_error | That coupon has reached its redemption limit. |
coupon.already_redeemed_by_customer | E5372 | 400 | invalid_request_error | That coupon can be used once per customer, and this customer has already used it. |
coupon.customer_required | E5373 | 400 | invalid_request_error | That coupon can be used once per customer, so a customer must be attached. |
coupon.not_applicable_to_items | E5374 | 400 | invalid_request_error | That coupon doesn't apply to any item in this order. |
credit
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
credit.a_product_name_is_required_it_is | E1710 | 400 | invalid_request_error | A product name is required: it is the line item a merchant sees on the top-up invoice. |
credit.add_a_country_to_this_application_before | E1711 | 400 | invalid_request_error | Add a country to this application before setting its credit limit. |
credit.country_must_be_an_iso_3166_1 | E1712 | 400 | invalid_request_error | Country must be an ISO 3166-1 alpha-2 code, or empty for the default that every other country falls back to. |
credit.currency_is_required | E1713 | 400 | invalid_request_error | currency is required. |
credit.holder_must_be_a_customer_cus_or | E1714 | 400 | invalid_request_error | holder must be a customer (cus_) or account (acct_) id. |
credit.minimum_top_up_cannot_be_negative | E1715 | 400 | invalid_request_error | Minimum top-up cannot be negative. |
credit.only_a_paycose_fees_wallet_takes_an | E1716 | 400 | invalid_request_error | only a Paycose fees wallet takes an admin adjustment; usage and fee_cover wallets are retired |
credit.overdraft_limit_is_how_far_below_zero | E1717 | 400 | invalid_request_error | overdraft_limit is how far below zero credit may go, so it must be 0 or more. |
credit.overdraft_limit_is_required | E1718 | 400 | invalid_request_error | overdraft_limit is required. |
credit.paycose_never_bills_its_own_platform_account | E1719 | 400 | invalid_request_error | Paycose never bills its own platform account, so it has no credit limit to set. |
credit.status_must_be_active_or_paused | E1721 | 400 | invalid_request_error | Status must be active or paused. |
credit.this_application_s_paycose_credit_cannot_be | E1723 | 400 | invalid_request_error | This application's Paycose credit cannot be opened yet: it needs a merchant account and a provisioned platform billing country. |
credit.this_wallet_has_no_country_to_post | E1724 | 400 | invalid_request_error | this wallet has no country to post an adjustment through yet |
credit.top_up_due_days_must_be_between | E1725 | 400 | invalid_request_error | Top-up due days must be between 0 and {max_topup_due_days}; 0 means the default of {default_topup_due_days} days. |
credit.vat_percentage_must_be_between_0_and | E1726 | 400 | invalid_request_error | VAT percentage must be between 0 and 100. |
credit.platform_credit_billing_setting_not_found | E8038 | 404 | invalid_request_error | Platform credit billing setting not found. |
credit_note
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
credit_note.cannot_create_credit_note_line_item_would | E1727 | 400 | invalid_request_error | Cannot create credit note: line item "{inv_line_id}" would be over-credited (requested {requested}, already credited {per_line_already_credited}, line subtotal {amount_subtotal}). |
credit_note.cannot_create_credit_note_this_would_credit | E1728 | 400 | invalid_request_error | Cannot create credit note: this would credit {new_total} total against invoice "{id}" which has only {value} available (already credited: {already_credited}, invoice total: {total}). |
credit_note.cannot_create_credit_note_with_of_shipping | E1729 | 400 | invalid_request_error | Cannot create credit note: with {shipping} of shipping it would credit {value} against invoice "{id}", which has only {value_2} available. |
credit_note.credit_amount_is_not_supported_by_this | E1730 | 400 | invalid_request_error | credit_amount is not supported by this connector. Use refund_amount or out_of_band_amount instead. |
credit_note.invalid_line_type_expected_invoice_line_item | E1731 | 400 | invalid_request_error | invalid line type "{type}": expected invoice_line_item or custom_line_item. |
credit_note.invoice_is_already_paid_so_the_credit | E1732 | 400 | invalid_request_error | Invoice is already paid, so the credit has to go somewhere: set refund_amount, out_of_band_amount, or credit_amount. |
credit_note.invoice_line_item_is_required_for_type | E1733 | 400 | invalid_request_error | invoice_line_item is required for type invoice_line_item |
credit_note.invoice_line_item_not_found_on_this | E1734 | 400 | invalid_request_error | invoice line item "{line_id}" not found on this invoice. |
credit_note.invoice_was_not_paid_by_a_charge | E1735 | 400 | invalid_request_error | Invoice "{id}" was not paid by a charge, so there is nothing to refund: use out_of_band_amount instead. |
credit_note.invoice_withholds_tax_and_its_connector_bills | E1736 | 400 | invalid_request_error | Invoice "{id}" withholds tax and its connector "{connector_name}" bills it net of a withholding line, which a credit note cannot split. Void the invoice and issue a new one instead. |
credit_note.lines_is_required | E1737 | 400 | invalid_request_error | lines is required |
credit_note.lines_needs_an_amount_or_a_quantity | E1738 | 400 | invalid_request_error | lines[{value}] needs an amount or a quantity to credit. |
credit_note.lines_quantity_must_be_at_least_1 | E1739 | 400 | invalid_request_error | lines[{value}].quantity must be at least 1. |
credit_note.lines_send_one_of_amount_unit_amount | E1740 | 400 | invalid_request_error | lines[{value}]: send one of amount, unit_amount or unit_amount_decimal for a custom_line_item. |
credit_note.nothing_has_been_paid_on_invoice_yet | E1741 | 400 | invalid_request_error | Nothing has been paid on invoice "{id}" yet, so a credit note only lowers what is due: leave refund_amount, credit_amount and out_of_band_amount unset. |
credit_note.reason_is_not_valid_use_duplicate_fraudulent | E1742 | 400 | invalid_request_error | reason "{reason}" is not valid: use duplicate, fraudulent, order_change or product_unsatisfactory. |
credit_note.refund_has_no_reference_on_the_account | E1743 | 400 | invalid_request_error | Refund "{refund_id}" has no {connector} reference on the account hosting this invoice, so the credit note cannot link it. Link a refund made there, or leave refund out. |
credit_note.shipping_cost_amount_cannot_be_negative | E1744 | 400 | invalid_request_error | shipping_cost.amount cannot be negative. |
credit_note.the_payment_of_invoice_is_still_being | E1745 | 409 | invalid_request_error | The payment of invoice "{id}" is still being recorded, so there is no charge to refund yet. Retry in a few seconds. |
credit_note.the_connector_refused_reason | E1746 | 400 | invalid_request_error | {reason} |
credit_note.the_connector_refused_the_credit_note | E1747 | 400 | invalid_request_error | The connector refused the credit note. |
credit_note.connector_references_cannot_be_resolved_the | E2434 | 400 | invalid_request_error | Connector "{connector}" references cannot be resolved: the reference service is not configured. |
credit_note.shipping_rate_could_not_be_registered | E2435 | 400 | invalid_request_error | Shipping rate "{name}" ({id}) could not be registered with connector "{connector}". |
credit_note.tax_rate_could_not_be_registered | E2436 | 400 | invalid_request_error | Tax rate "{name}" ({id}) could not be registered with connector "{connector}". |
credit_note.not_found | E4700 | 404 | invalid_request_error | The requested credit note could not be found. Check the id and try again. |
credit_note.create.failed | E4701 | 500 | api_error | The credit note could not be created. Verify the request body and try again. |
credit_note.retrieve.failed | E4702 | 500 | api_error | We couldn't load this credit note. Check the id and try again. |
credit_note.cancel.failed | E4703 | 500 | api_error | The credit note could not be canceled. Check its current status, then retry. |
credit_note.finite_state | E4704 | 409 | invalid_request_error | Credit note cannot be modified in its current state |
credit_note.invoice.required | E4705 | 400 | invalid_request_error | Credit note must be associated with an invoice |
credit_note.applied_credit_note_cannot_be_canceled | E4980 | 409 | invalid_request_error | applied credit note cannot be canceled |
credit_note.credit_note_cannot_be_moved_to_status | E4981 | 409 | invalid_request_error | Credit note cannot be moved to status "{status}". |
credit_note.credit_note_is_allowed_only_for_open | E4982 | 409 | invalid_request_error | Credit note is allowed only for open or paid invoices. |
credit_note.credit_note_is_already_canceled | E4983 | 409 | invalid_request_error | credit note is already canceled |
credit_note.credit_note_is_already_void | E4984 | 409 | invalid_request_error | Credit note is already void. |
credit_note.credit_note_settled_its_invoice_in_full | E4985 | 409 | invalid_request_error | Credit note settled its invoice in full and cannot be voided. |
credit_note.credit_notes_cannot_be_issued_on_this | E4986 | 500 | api_error | Credit notes cannot be issued on this invoice: no enabled connector in this account issues them. Contact support. |
credit_note.invoice_is_paid_but_its_copy_at | E4987 | 500 | api_error | Invoice "{id}" is paid, but its copy at {connector_id} could not be marked paid, so {connector_id_2} would refuse this credit note. Retry, or contact support if the issue persists. |
credit_note.only_draft_credit_notes_can_be_deleted | E4988 | 409 | invalid_request_error | only draft credit notes can be deleted |
cryptochain
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
cryptochain.from_block_must_be_at_or_below | E1748 | 400 | invalid_request_error | from_block must be at or below the chain head, {head}. |
cryptochain.that_block_could_not_be_read_from | E1749 | 400 | invalid_request_error | That block could not be read from the chain. |
cryptochain.no_flagged_deposit_has_this_id_and | E4990 | 404 | invalid_request_error | No flagged deposit has this id and transaction hash. |
cryptocustody
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
cryptocustody.metadata_must_be_a_json_object | E1750 | 400 | invalid_request_error | metadata must be a JSON object |
customer
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
customer.at_least_one_charge_is_required | E1751 | 400 | invalid_request_error | at least one charge is required |
customer.customer_already_exists_at_without_a_test | E1752 | 400 | invalid_request_error | Customer {id} already exists at {connector} without a test clock, and {connector_2} puts a customer on a clock only when it creates the customer. Create a customer with test_clock_id {clock_id}, or leave test_clock_id out. |
customer.file_hash_is_required | E1753 | 400 | invalid_request_error | file hash is required |
customer.match_amount_cannot_be_negative | E1754 | 400 | invalid_request_error | match amount cannot be negative |
customer.mode_must_be_auto_or_manual | E1755 | 400 | invalid_request_error | mode must be auto or manual |
customer.release_gate_must_be_match_or_validated | E1757 | 400 | invalid_request_error | release_gate must be match or validated to enforce |
customer.release_gate_must_be_off_match_or | E1758 | 400 | invalid_request_error | release_gate must be off, match or validated |
customer.test_clock_does_not_run_at_which | E1759 | 400 | invalid_request_error | Test clock {clock_id} does not run at {connector}, which bills this subscription and keeps its own clock. Create a test clock with connector {connector_2} and pass its id. |
customer.test_clocks_exist_in_test_mode_only | E1760 | 400 | invalid_request_error | Test clocks exist in test mode only; leave test_clock_id out in live mode. |
customer.the_matched_amount_does_not_equal_the | E1761 | 409 | invalid_request_error | The matched amount does not equal the settlement line amount. Match the remainder, or validate with a reason to accept the difference. |
customer.this_charge_cannot_back_the_settlement_line | E1762 | 400 | invalid_request_error | This charge cannot back the settlement line: it is unknown, unpaid, from another connector, or another merchant's. |
customer.this_charge_is_in_a_different_currency | E1763 | 409 | invalid_request_error | This charge is in a different currency from the settlement line, and the connector did not convert from it. Pick a charge in the line's currency. |
customer.this_settlement_line_is_already_validated | E1764 | 409 | invalid_request_error | This settlement line is already validated. Unvalidate it before changing its matches. |
customer.not_found | E6100 | 404 | invalid_request_error | The requested customer could not be found. Check the id and try again. |
customer.create.failed | E6101 | 500 | api_error | The customer could not be created. Verify the request body and try again. |
customer.retrieve.failed | E6102 | 500 | api_error | We couldn't load this customer. Check the id and try again. |
customer.update.failed | E6103 | 500 | api_error | The customer could not be updated. Verify the request and try again. |
customer.delete.failed | E6104 | 500 | api_error | The customer could not be deleted. Try again shortly, or contact support if the issue persists. |
customer.connector.not_synced | E6105 | 409 | invalid_request_error | This customer has not been synced to the payment connector. Sync the customer before retrying. |
customer.charge_disabled | E6106 | 400 | invalid_request_error | This customer cannot be charged: its charge capability is off. Turn on capabilities.charge for the customer, then retry. |
customer.identity.list_failed | E8914 | 500 | api_error | We couldn't load the customer directory. Try again shortly. |
customer.identity.not_found | E8915 | 404 | invalid_request_error | No customer was found for this key. Check the key and try again. |
setup_intent
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
setup_intent.no_connector_saves_method | E1756 | 400 | invalid_request_error | No connector here can save payment method type {type}. |
setup_intent.method_cannot_be_saved | E1792 | 400 | invalid_request_error | Payment method type {type} cannot be saved; use it directly on a payment instead. |
setup_intent.create.failed | E6310 | 500 | api_error | The setup intent could not be created. Verify the request body and try again. |
setup_intent.retrieve.failed | E6311 | 500 | api_error | We couldn't load this setup intent. Check the id and try again. |
dead_letter_message
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
dead_letter_message.dead_letter_message_payload_required | E1765 | 400 | invalid_request_error | dead_letter_message: payload required |
dead_letter_message.dead_letter_message_routing_key_or_original | E1766 | 400 | invalid_request_error | dead_letter_message: routing_key or original_queue required |
dispute
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
dispute.a_chargeback_is_recorded_by_an_identified | E1767 | 400 | invalid_request_error | a chargeback is recorded by an identified admin |
dispute.a_chargeback_needs_a_charge_the_acquirer | E1768 | 400 | invalid_request_error | A chargeback needs a charge, the acquirer's case reference, a status and a note. |
dispute.amount_and_connector_fee_amount_cannot_be | E1769 | 400 | invalid_request_error | amount and connector_fee_amount cannot be negative |
dispute.charge_id_is_required_to_record_a | E1770 | 400 | invalid_request_error | charge id is required to record a chargeback |
dispute.dispute_charge_id_is_required_parent_charge | E1771 | 400 | invalid_request_error | dispute charge_id is required (parent charge must be resolvable from webhook) |
dispute.dispute_reference_id_is_required_from_connector | E1772 | 400 | invalid_request_error | dispute reference_id is required from connector webhook |
dispute.evidence_case | E1773 | 400 | invalid_request_error | evidence.{field}: {reason}. |
dispute.evidence_is_not_a_text_evidence_field | E1774 | 400 | invalid_request_error | evidence.{field} is not a text evidence field; send one of {evidence_fields}. |
dispute.note_is_required_say_where_the_chargeback | E1775 | 400 | invalid_request_error | note is required: say where the chargeback came from |
dispute.reference_id_the_acquirer_s_chargeback_case | E1776 | 400 | invalid_request_error | reference_id (the acquirer's chargeback case reference) is required |
dispute.status_must_be_one_of | E1777 | 400 | invalid_request_error | status must be one of {chargeback_statuses} |
dispute.dispute_is_its_evidence_can_only_change | E4000 | 409 | invalid_request_error | Dispute "{id}" is {status}: its evidence can only change while it needs a response. |
dispute.dispute_s_evidence_was_due_by | E4001 | 409 | invalid_request_error | Dispute "{id}"'s evidence was due by {utc}. |
dispute.doesn_t_take_dispute_evidence_through_paycose | E4002 | 409 | invalid_request_error | {connector} doesn't take dispute evidence through Paycose. Respond to dispute "{id}" in {connector_2}'s dashboard. |
dispute.not_found | E4517 | 404 | invalid_request_error | The requested dispute could not be found. Check the id and try again. |
dispute.retrieve.failed | E4518 | 500 | api_error | We couldn't load this dispute. Check the id and try again. |
dispute.update.failed | E4519 | 500 | api_error | The dispute could not be updated. Verify the request and try again. |
dispute.list.failed | E4520 | 500 | api_error | We couldn't load the list of disputes. Try again shortly. |
dispute.finite_state | E4521 | 409 | invalid_request_error | Dispute cannot be modified in its current state |
dispute.stats.failed | E4522 | 500 | api_error | We couldn't compute dispute statistics right now. Try again shortly. |
dispute.charge.missing | E4523 | 422 | invalid_request_error | The parent charge for this dispute could not be resolved from the webhook payload. |
dispute.settle.failed | E4524 | 500 | api_error | Settling funds movement for this dispute failed. The webhook will be retried. |
dispute.evidence.unsupported | E4530 | 409 | invalid_request_error | This dispute's connector doesn't take evidence through Paycose. Respond to the dispute in the connector's dashboard. |
dispute.cannot_record_dispute_parent_charge_could_not | E4991 | 422 | invalid_request_error | Cannot record dispute: parent charge "{charge_reference_id}" could not be found. |
dispute.cannot_record_dispute_parent_charge_reference_is | E4992 | 422 | invalid_request_error | Cannot record dispute: parent charge reference is missing from the webhook payload. |
dispute.cannot_reinstate_dispute_funds_withdrawn_has_not | E4993 | 409 | invalid_request_error | Cannot reinstate dispute "{id}": funds_withdrawn has not been processed yet. |
dispute.cannot_reinstate_funds_dispute_not_found | E4994 | 404 | invalid_request_error | Cannot reinstate funds: dispute "{reference_id}" not found. |
dispute.charge_could_not_be_found | E4995 | 404 | invalid_request_error | Charge "{charge_id}" could not be found. |
dispute.charge_has_no_application_country | E4996 | 422 | invalid_request_error | Charge "{id}" has no application country. |
dispute.charge_has_not_been_captured_so_there | E4997 | 409 | invalid_request_error | Charge "{id}" has not been captured, so there is nothing to charge back. |
dispute.charge_was_taken_on_the_merchant_s | E4998 | 409 | invalid_request_error | Charge "{id}" was taken on the merchant's own connector keys, so its disputes arrive from that connector and cannot be recorded here. |
dispute.chargeback_reference_is_already_recorded_against | E4999 | 409 | invalid_request_error | Chargeback reference "{reference}" is already recorded against charge "{charge_id}". |
fee
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
fee.doesn_t_offer_the_bank_for | E1778 | 400 | invalid_request_error | {connector} doesn't offer the bank {bank} for {method}. |
fee.doesn_t_take_payments_in_this_country | E1779 | 400 | invalid_request_error | {connector} doesn't take {method} payments in this country. |
fee.the_fee_can_t_be_negative | E1780 | 400 | invalid_request_error | The {method} fee can't be negative. |
fee.the_fee_for_at_can_t_be | E1781 | 400 | invalid_request_error | The {method} fee for {connector} at {bank} can't be negative. |
fee.the_fee_for_at_can_t_nest | E1782 | 400 | invalid_request_error | The {method} fee for {connector} at {bank} can't nest further fees. |
fee.the_fee_for_at_must_be_in | E1783 | 400 | invalid_request_error | The {method} fee for {connector} at {bank} must be in {currency}. |
fee.the_fee_for_can_t_be_negative | E1784 | 400 | invalid_request_error | The {method} fee for {connector} can't be negative. |
fee.the_fee_for_can_t_have_connector | E1785 | 400 | invalid_request_error | The {method} fee for {connector} can't have connector fees of its own. |
fee.the_fee_for_must_be_in_like | E1786 | 400 | invalid_request_error | The {method} fee for {connector} must be in {currency}, like the {method_2} fee. |
fee.the_fee_prices_banks_only_under_a | E1787 | 400 | invalid_request_error | The {method} fee prices banks only under a connector. |
fee.not_found | E5400 | 404 | invalid_request_error | The requested fee could not be found. Check the id and try again. |
fee.create.failed | E5401 | 500 | api_error | The fee could not be created. Verify the request body and try again. |
fee.update.failed | E5402 | 500 | api_error | The fee could not be updated. Verify the request and try again. |
fee.retrieve.failed | E5403 | 500 | api_error | We couldn't load this fee. Check the id and try again. |
fee.percentage_or_fixed | E5404 | 400 | invalid_request_error | Either percentage or fixedAmount must be selected, but not both |
file
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
file.create_file_file_name_is_required | E1788 | 400 | invalid_request_error | create file: file name is required |
file.create_file_params_is_nil | E1789 | 400 | invalid_request_error | create file: params is nil |
file.create_file_purpose_is_required | E1790 | 400 | invalid_request_error | create file: purpose is required |
file.create_file_the_uploaded_file_is_empty | E1791 | 400 | invalid_request_error | create file: the uploaded file is empty |
file.the_file_is_accepts | E8039 | 400 | invalid_request_error | the file is {content_type}; "{purpose}" accepts {content_types} |
file.the_file_is_bytes_accepts_at_most | E8040 | 400 | invalid_request_error | the file is {count} bytes; "{purpose}" accepts at most {max_bytes} |
file.the_image_is_x_it_must_be | E8041 | 400 | invalid_request_error | the image is {width}x{height}; it must be at least {min_pixels}px on each side |
file.the_image_is_x_it_must_be_2 | E8042 | 400 | invalid_request_error | the image is {width}x{height}; it must be at most {max_pixels}px on each side |
file.unsupported_file_purpose_allowed_branding_card | E8043 | 400 | invalid_request_error | Unsupported file purpose; allowed: branding, card_art, document, payout_slip, product, profile, verification |
file.not_found | E8700 | 404 | invalid_request_error | The requested file could not be found. Check the id and try again. |
file.retrieve.failed | E8701 | 500 | api_error | We couldn't load this file. Check the id and try again. |
file.open.failed | E8702 | 500 | api_error | The file could not be opened. Verify the file exists and is accessible, then try again. |
file.read.failed | E8703 | 500 | api_error | The file could not be read. Verify the file is not corrupted or locked, then try again. |
file.create.failed | E8704 | 500 | api_error | The file could not be created. Verify the request body and try again. |
file.purpose.unsupported | E8705 | 400 | invalid_request_error | Unsupported file purpose; allowed: branding, card_art, document, gdpr, product, profile, reconciliation, verification |
file.provider.unsupported | E8706 | 500 | api_error | The file storage provider is not supported. Contact support for available options. |
file.too_large | E8707 | 400 | invalid_request_error | The uploaded file is larger than this purpose allows. Upload a smaller file and try again. |
file.type.unsupported | E8708 | 400 | invalid_request_error | The uploaded file type is not allowed for this purpose. |
file.image.invalid | E8709 | 400 | invalid_request_error | The uploaded image could not be read, or its dimensions are outside the allowed range. |
file.not_branding | E8711 | 400 | invalid_request_error | That file is not a branding upload. Upload the logo again and retry. |
file.not_card_art | E8712 | 400 | invalid_request_error | That file is not a card image upload for this mode. Upload the card image again and retry. |
forex
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
forex.no_forex_quote_in_this_list_has | E1793 | 400 | invalid_request_error | No forex quote in this list has that id. |
forex.quote.not_found | E7200 | 404 | invalid_request_error | The requested forex quote could not be found. Check the id and try again. |
forex.quote.create.failed | E7201 | 502 | api_error | The forex quote could not be created. Verify the request body and try again. |
forex.quote.retrieve.failed | E7202 | 500 | api_error | We couldn't load this forex quote. Check the id and try again. |
forex.quote.cancel.failed | E7203 | 409 | invalid_request_error | The forex quote could not be canceled. Check its current status, then retry. |
forex.quote.probe.failed | E7204 | 500 | api_error | We couldn't check forex quote expiry. Try again shortly. |
forex.quote.list.failed | E7205 | 500 | api_error | We couldn't load the list of forex quotes. Try again shortly. |
forex.convert.failed | E7206 | 500 | api_error | We couldn't convert currency. Verify the source/dest values and try again. |
forex.amount.too_small | E7220 | 400 | invalid_request_error | Source amount too small for the quoted rate |
forex.journal.required | E7221 | 400 | invalid_request_error | A journal_id is required to consume a forex quote. Provide a valid journal_id and retry. |
forex.transaction.invalid | E7222 | 500 | api_error | Forex consume requires a *gorm.DB transaction |
forex.application_country.required | E7223 | 400 | invalid_request_error | application_country_id is required for forex quote |
forex.currency.required | E7224 | 400 | invalid_request_error | Source and destination currency are required for forex quote |
forex.quote.expired | E7230 | 409 | invalid_request_error | This forex quote has expired and can no longer be used. Request a fresh quote and retry. |
forex.quote.consumed | E7231 | 409 | invalid_request_error | This forex quote has already been consumed. Request a new quote for further conversions. |
forex.quote.cancelled | E7232 | 409 | invalid_request_error | This forex quote has been cancelled and can no longer be used. Request a new quote and retry. |
forex.forex_consumeforflow_requires_quoteid | E7311 | 404 | invalid_request_error | forex: ConsumeForFlow requires quoteID |
forex.forex_quote_id_is_required | E7312 | 404 | invalid_request_error | Forex quote id is required. |
forex.forex_source_amount_too_small_for_rate | E7313 | 400 | invalid_request_error | forex: source amount too small for rate (dest={dest_amount}) |
gatewayadmin
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
gatewayadmin.idempotency_key_must_be_1_255_printable | E1795 | 400 | invalid_request_error | Idempotency-Key must be 1-255 printable ASCII characters without spaces. |
gatewayadmin.the_path_parameter_must_be_1_128 | E1796 | 400 | invalid_request_error | The {name} path parameter must be 1-128 letters, digits, '.', '_', ':' or '-', starting with a letter or digit. |
gatewayadmin.unsupported_query_parameter_s_allowed | E1797 | 400 | invalid_request_error | Unsupported query parameter(s): {unknown}. Allowed: {allowed}. |
gatewayadmin.the_gateway_said | E2437 | 400 | invalid_request_error | {reason} |
gatewayadmin.the_gateway_management_api_is_not_configured | E3568 | 502 | api_error | The gateway management API is not configured on this wallet ({what}). Set it in the wallet config, then try again. |
gdpr
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
gdpr.appid_required | E1798 | 400 | invalid_request_error | appID required |
gdpr.collections_required | E1799 | 400 | invalid_request_error | collections required |
gdpr.invalid_derived_date_range_for_preset | E1800 | 400 | invalid_request_error | invalid derived date range for preset "{preset}" |
gdpr.request_id_required | E1801 | 400 | invalid_request_error | request_id required |
gdpr.requestid_required | E1802 | 400 | invalid_request_error | requestID required |
hosted_link
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
hosted_link.invoice_id_is_required | E1803 | 400 | invalid_request_error | invoice id is required. |
hosted_link.saved_payment_methods_are_not_supported_on | E1805 | 400 | invalid_request_error | Saved payment methods are not supported on a payment link; please enter a new card. |
hosted_link.this_payment_link_is_no_longer_payable | E1806 | 409 | invalid_request_error | This payment link is no longer payable (its target is already paid, the link has expired, or it was canceled). |
impersonation
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
impersonation.impersonation_requests_are_answered_by_the | E1808 | 403 | permission_error | Impersonation requests are answered by the merchant, not by an admin impersonating them. |
impersonation.read_only | E9000 | 403 | permission_error | This session is impersonating a merchant user in read-only mode. Write operations are not allowed. |
impersonation.disabled | E9001 | 403 | permission_error | Impersonation is disabled on this environment. |
impersonation.target.invalid | E9002 | 422 | invalid_request_error | The impersonation target user could not be found. Check the user id and try again. |
impersonation.target.banned | E9003 | 409 | invalid_request_error | The impersonation target user is banned and cannot be impersonated. |
impersonation.active.exists | E9004 | 409 | invalid_request_error | An impersonation session is already active for this admin. Stop it before starting a new one. |
impersonation.not_found | E9005 | 404 | invalid_request_error | The impersonation session could not be found. Check the id and try again. |
impersonation.start.failed | E9006 | 500 | api_error | The impersonation session could not be started. Try again shortly. |
impersonation.stop.failed | E9007 | 500 | api_error | The impersonation session could not be stopped. Try again shortly. |
impersonation.list.failed | E9008 | 500 | api_error | We couldn't load the impersonation sessions. Try again shortly. |
impersonation.consent.not_found | E9009 | 404 | invalid_request_error | The impersonation request could not be found. |
impersonation.consent.not_pending | E9010 | 409 | invalid_request_error | This impersonation request is no longer pending. |
impersonation.consent.expired | E9011 | 409 | invalid_request_error | This impersonation request has expired. Ask the administrator to send a new one. |
impersonation.consent.forbidden | E9012 | 403 | permission_error | You are not the target of this impersonation request. |
impersonation.consent.action_failed | E9013 | 500 | api_error | The impersonation request could not be updated. Try again shortly. |
installment_plan
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
installment_plan.an_installment_plan_body_is_required | E1809 | 400 | invalid_request_error | An installment plan body is required. |
installment_plan.a_plan_for_every_card_of_this | E2438 | 409 | invalid_request_error | A plan for every card of this connector, currency and term already exists in this scope. Edit that plan instead. |
installment_plan.card_already_has_a_month_plan_for | E2439 | 409 | invalid_request_error | Card {face} already has a {term}-month plan for this connector and currency in this scope. Remove it from one of the plans. |
installment_plan.installment_plan_does_not_let_payer | E2467 | 400 | invalid_request_error | this installment plan does not let the payer use card points |
installment_plan.points_amount_between_1 | E2468 | 400 | invalid_request_error | points amount must be between 1 and {max_points} |
installment_plan.bank_campaign_points_amount_cannot_negative | E2469 | 400 | invalid_request_error | bank_campaign.points.amount cannot be negative |
installment_plan.bank_campaign_points_conversion_rate_cannot | E2470 | 400 | invalid_request_error | bank_campaign.points.conversion_rate cannot be negative |
installment_plan.bank_campaign_points_max_points_cannot | E2471 | 400 | invalid_request_error | bank_campaign.points.max_points cannot be negative |
installment_plan.bank_campaign_points_max_points_only | E2472 | 400 | invalid_request_error | bank_campaign.points.max_points only applies when payer_opt_in is on |
installment_plan.doesn_t_support_payer_points_yet | E2473 | 400 | invalid_request_error | {bank} doesn't support payer points yet |
installment_plan.doesn_t_let_payer_choose_how | E2474 | 400 | invalid_request_error | {bank} doesn't let the payer choose how many points to use; leave max_points at 0 |
installment_plan.bank_campaign_points_conversion_rate_above | E2475 | 400 | invalid_request_error | bank_campaign.points.conversion_rate must be above 0 when the payer may use points |
installment_plan.bank_campaign_points_amount_whole_number | E2476 | 400 | invalid_request_error | bank_campaign.points.amount must be a whole number of points when the payer may use points |
installment_plan.bank_campaign_points_needs_amount_max | E2477 | 400 | invalid_request_error | bank_campaign.points needs an amount or max_points above 0 when the payer may use points |
installment_plan.bank_campaign_points_amount_cannot_exceed | E2478 | 400 | invalid_request_error | bank_campaign.points.amount cannot exceed max_points |
installment_plan.plan_required | E2479 | 400 | invalid_request_error | plan is required |
installment_plan.connector_currency_are_required | E2480 | 400 | invalid_request_error | connector and currency are required |
installment_plan.currency_most_characters | E2482 | 400 | invalid_request_error | currency must be at most {max_currency_length} characters |
installment_plan.plan_code_most_characters | E2483 | 400 | invalid_request_error | plan_code must be at most {max_plan_code_length} characters |
installment_plan.term_real_number_months | E2484 | 400 | invalid_request_error | term must be a real number of months |
installment_plan.absorption | E2485 | 400 | invalid_request_error | absorption must be "{absorption_customer}" or "{absorption_merchant}" |
installment_plan.source_most_characters | E2486 | 400 | invalid_request_error | source must be at most {max_source_length} characters |
installment_plan.interest_bps_cannot_negative | E2487 | 400 | invalid_request_error | interest_bps cannot be negative |
installment_plan.min_amount_max_amount_cannot_negative | E2488 | 400 | invalid_request_error | min_amount and max_amount cannot be negative |
installment_plan.max_amount_0_no_ceiling_least | E2489 | 400 | invalid_request_error | max_amount must be 0 for no ceiling, or at least min_amount |
installment_plan.most_characters | E2490 | 400 | invalid_request_error | {name} must be at most {max_bank_code_length} characters |
installment_plan.bank_interest_rate_cannot_negative | E2491 | 400 | invalid_request_error | bank_interest_rate cannot be negative |
installment_plan.plan_either_lists_cards_applies_cards | E2492 | 400 | invalid_request_error | a plan either lists the cards it applies to or the cards it excludes, not both |
installment_plan.too_many_cards_one_plan_split | E2493 | 400 | invalid_request_error | too many cards on one plan; split it into several plans |
installment_plan.plan_quotes_payer_interest_free_tenor | E2558 | 400 | invalid_request_error | this plan quotes the payer an interest-free tenor but the bank rate is {bank_rate} — the bank would bill interest the payer was never shown |
installment_plan.plan_quotes_payer_basis_points_interest | E2559 | 400 | invalid_request_error | this plan quotes the payer {interest_bps} basis points of interest but bank_interest_rate is 0 — the plan the bank would fund is not the plan the payer accepted |
invoice
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
invoice.provide_payment_intent_id_or_charge_id | E1814 | 400 | invalid_request_error | Provide payment_intent_id or charge_id. |
invoice.invoice | E2440 | 400 | invalid_request_error | Invoice "{id}": {message} |
invoice.no_invoice_was_found_for_reference_id | E2441 | 400 | invalid_request_error | No invoice was found for reference_id "{reference_id}". Verify the reference and that it belongs to your application. |
invoice.a_draft_invoice_cannot_be_sent_finalize | E4003 | 409 | invalid_request_error | A draft invoice cannot be sent. Finalize it first. |
invoice.credit_note_update_is_not_allowed_for | E4004 | 409 | invalid_request_error | credit note update is not allowed for paid invoice |
invoice.credit_note_update_is_not_allowed_for_2 | E4005 | 409 | invalid_request_error | credit note update is not allowed for uncollectible invoice |
invoice.credit_note_update_is_not_allowed_for_3 | E4006 | 409 | invalid_request_error | credit note update is not allowed for void invoice |
invoice.default_payment_method_id_is_not_supported | E4007 | 500 | api_error | default_payment_method.id is not supported for payment_method.type="{default_payment_method_type}"; this method cannot save a reusable instrument, so send only the type. |
invoice.draft_invoice_must_be_deleted_not_voided | E4008 | 409 | invalid_request_error | draft invoice must be deleted, not voided |
invoice.invalid_invoice_status_for_credit_note | E4009 | 409 | invalid_request_error | invalid invoice status for credit note |
invoice.invalid_invoice_status_for_void | E4010 | 409 | invalid_request_error | invalid invoice status for void |
invoice.invalid_invoice_status_status_must_be_one | E4011 | 409 | invalid_request_error | invalid invoice status: {status}. Status must be one of the following: draft, open, paid, uncollectible, or void |
invoice.invoice_can_be_finalized_only_in_the | E4012 | 409 | invalid_request_error | invoice can be finalized only in the draft state |
invoice.invoice_can_be_paid_only_in_the | E4013 | 409 | invalid_request_error | invoice can be paid only in the open state |
invoice.invoice_changed_while_this_update_was_being | E4014 | 409 | invalid_request_error | Invoice "{id}" changed while this update was being applied. Retry the request. |
invoice.invoice_is_a_draft_and_has_no | E4015 | 409 | invalid_request_error | Invoice {id} is a draft and has no payment page yet. Finalize it, then create the payment link. |
invoice.invoice_is_not_open | E4016 | 409 | invalid_request_error | invoice is not open |
invoice.invoice_is_now_not_retry_the_request | E4017 | 409 | invalid_request_error | Invoice "{id}" is {status} now, not {expected_status}. Retry the request. |
invoice.invoice_is_still_a_draft_finalize_it | E4018 | 400 | invalid_request_error | Invoice "{id}" is still a draft. Finalize it before marking it paid. |
invoice.invoice_is_void_and_can_no_longer | E4019 | 409 | invalid_request_error | Invoice {id} is void and can no longer be paid, so no payment link can be created for it. |
invoice.only_an_invoice_with_collection_method_send | E4020 | 409 | invalid_request_error | Only an invoice with collection_method send_invoice can be sent; this one is charged automatically. |
invoice.only_an_open_invoice_can_be_marked | E4021 | 409 | invalid_request_error | Only an open invoice can be marked uncollectible; this one is {status}. |
invoice.only_an_open_invoice_can_be_sent | E4022 | 409 | invalid_request_error | Only an open invoice can be sent; this one is {status}. |
invoice.only_an_open_or_uncollectible_invoice_can | E4023 | 409 | invalid_request_error | only an open or uncollectible invoice can be marked void |
invoice.only_draft_invoice_can_be_deleted | E4024 | 409 | invalid_request_error | only draft invoice can be deleted |
invoice.only_open_invoice_can_be_marked_uncollectible | E4025 | 409 | invalid_request_error | only open invoice can be marked uncollectible |
invoice.paid_invoice_cannot_be_voided_use_credit | E4026 | 409 | invalid_request_error | paid invoice cannot be voided; use credit note instead |
invoice.the_invoice_is_now_not_reload_it | E4027 | 409 | invalid_request_error | The invoice is {status} now, not {expect_status}; reload it and try again. |
invoice.not_found | E4200 | 404 | invalid_request_error | The requested invoice could not be found. Check the id and try again. |
invoice.create.failed | E4201 | 500 | api_error | The invoice could not be created. Verify the request body and try again. |
invoice.finalize.failed | E4202 | 500 | api_error | The invoice could not be finalized. Verify it is still in the draft state, then retry. |
invoice.pay.failed | E4203 | 500 | api_error | The payment on invoice did not complete. Try again, or use a different payment method. |
invoice.inquiry.failed | E4204 | 500 | api_error | We couldn't query invoice. Try again shortly. |
invoice.capture.failed | E4205 | 500 | api_error | The capture on invoice did not complete. Verify the current state, then retry. |
invoice.void.failed | E4206 | 500 | api_error | The invoice could not be voided. Verify its state, then retry. |
invoice.retrieve.failed | E4207 | 500 | api_error | We couldn't load this invoice. Check the id and try again. |
invoice.line.update_failed | E4208 | 500 | api_error | The invoice line item could not be updated. Verify the request and try again. |
invoice.line.add_failed | E4209 | 500 | api_error | invoice line item could not be added. Verify the input and try again. |
invoice.line.remove_failed | E4210 | 500 | api_error | invoice line item could not be removed. Verify the input and try again. |
invoice.draft.delete_failed | E4211 | 500 | api_error | The draft invoice could not be deleted. Try again shortly, or contact support if the issue persists. |
invoice.finite_state | E4212 | 409 | invalid_request_error | This invoice is already in a final state and cannot be modified. |
invoice.capture.full_required | E4213 | 400 | invalid_request_error | This invoice must be captured for the full outstanding amount. |
invoice.line.build_failed | E4214 | 500 | api_error | We couldn't build invoice line items. Verify the input and try again. |
invoice.line.extract_failed | E4215 | 500 | api_error | We couldn't extract invoice line items. Verify the input and try again. |
invoice.update.failed | E4216 | 500 | api_error | The invoice could not be updated. Check the fields you sent and try again. |
invoice.delete.failed | E4217 | 500 | api_error | The invoice could not be deleted. Try again shortly, or contact support if the issue persists. |
invoice.list.failed | E4218 | 500 | api_error | We couldn't list invoices right now. Try again, or narrow the filter. |
invoice.not_draft | E4219 | 400 | invalid_request_error | Only draft invoices are editable. Finalize, void, or check the invoice's current status before retrying. |
invoice.guest.unsupported | E4220 | 422 | invalid_request_error | This payment connector hosts invoices on its own side and needs a customer. Pass customer_id, or switch the country to a connector that bills internally. |
invoice.no_default_payment_method | E4221 | 402 | invalid_request_error | No default payment method is set on the invoice, its subscription, or the customer. Set one, or use collection_method=send_invoice. |
invoice.due_date.not_allowed | E4222 | 400 | invalid_request_error | due_date and days_until_due only apply to collection_method=send_invoice. Remove them, or switch the collection method. |
invoice.payment_method.not_owned | E4223 | 400 | invalid_request_error | That payment method is not attached to this customer. Attach it first, or pick one that belongs to the customer. |
invoice.authentication_required | E4224 | 402 | invalid_request_error | The card issuer requires the cardholder to authenticate. The invoice stays open until the payer completes authentication. |
invoice.capture.native_unsupported | E4225 | 400 | invalid_request_error | Manual capture is not available while this billing document is hosted by the payment connector — the connector collects the payment itself and cannot hold an authorization. Use capture_method="automatic", or route this payment method to a connector that bills internally. |
invoice.due_date.in_past | E4226 | 400 | invalid_request_error | due_date is in the past. Choose today or a later day. |
invoice.price.recurring | E4227 | 400 | invalid_request_error | Invoices bill one-time prices. Add a one-time price to the product, or bill it with a subscription. |
invoice.not_finalized | E4228 | 400 | invalid_request_error | This invoice is still a draft. Finalize it before marking it paid. |
logo
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
logo.kind_must_be_bank_connector_or_method | E1819 | 400 | invalid_request_error | kind must be bank, connector or method |
meter
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
meter.end_time_must_be_after_start_time | E1820 | 400 | invalid_request_error | end_time must be after start_time. |
meter.event_time_window_is_supported_only_when | E1821 | 400 | invalid_request_error | event_time_window is supported only when default_aggregation.formula is "{aggregation_sum}"; a "{aggregation}" meter cannot set it. |
meter.must_be_unix_seconds | E1822 | 400 | invalid_request_error | {param} must be Unix seconds. |
meter.no_meter_event_of_this_meter_has | E1823 | 400 | invalid_request_error | No meter event of this meter has id {id}. |
meter.start_time_to_end_time_may_span | E1824 | 400 | invalid_request_error | start_time to end_time may span at most {max_days} days for this value_grouping_window. |
meter.the_query_parameters_could_not_be_read | E1825 | 400 | invalid_request_error | The query parameters could not be read. |
meter.not_found | E5500 | 404 | invalid_request_error | The requested meter could not be found. Check the id and try again. |
meter.connector.not_synced | E5501 | 409 | invalid_request_error | This meter has not been synced to the payment connector. Sync the meter before retrying. |
meter.create.failed | E5502 | 500 | api_error | The meter could not be created. Verify the request body and try again. |
meter.update.failed | E5503 | 500 | api_error | The meter could not be updated. Verify the request and try again. |
meter.retrieve.failed | E5504 | 500 | api_error | We couldn't load this meter. Check the id and try again. |
meter.list.failed | E5505 | 500 | api_error | We couldn't load the list of meters. Try again shortly. |
meter.billing_mode.locked | E5506 | 409 | invalid_request_error | This meter still has usage waiting to be charged to prepaid credit. Wait until every usage event is rated (or resolve the failed ones), then switch it back to connector billing. |
meter.event_name.already_exists | E5507 | 400 | invalid_request_error | A meter for this event_name already exists. Use a different event_name. |
meter.a_meter_event_with_identifier_was_already | E5660 | 400 | invalid_request_error | A meter event with identifier "{identifier}" was already recorded in the last 24 hours. |
meter.event_name_must_match | E5661 | 400 | invalid_request_error | event_name must match ^[a-zA-Z_][a-zA-Z0-9_]{0,99}$ (got "{event_name}"). |
meter.identifier_must_be_1_to_100_printable | E5662 | 400 | invalid_request_error | identifier must be 1 to 100 printable ASCII characters, without spaces. |
meter.no_active_meter_counts_the_event_name | E5663 | 400 | invalid_request_error | No active meter counts the event_name "{event_name}". |
meter.no_meter_event_with_identifier_was_recorded | E5664 | 400 | invalid_request_error | No "{event_name}" meter event with identifier "{cancel_identifier}" was recorded in the last 24 hours. |
meter.payload_is_required_for_meters | E5665 | 400 | invalid_request_error | payload["{key}"] is required for {agg_upper} meters. |
meter.payload_is_required_it_names_the_customer | E5666 | 400 | invalid_request_error | payload["{customer_key}"] is required: it names the customer this usage belongs to (the meter's customer_mapping.event_payload_key). |
meter.payload_must_be_a_number_for_meters | E5667 | 400 | invalid_request_error | payload["{key}"] must be a number for {agg_upper} meters (got "{raw}"). |
meter.the_billing_connector_refused_the_meter_event | E5668 | 500 | api_error | The billing connector refused the meter event adjustment. |
meter.the_meter_event_could_not_be_canceled | E5669 | 500 | api_error | The meter event could not be canceled. Try again shortly. |
meter.the_meter_for_event_name_is_inactive | E5670 | 400 | invalid_request_error | The meter for event_name "{event_name}" is inactive. |
meter.timestamp_must_be_unix_seconds | E5671 | 400 | invalid_request_error | timestamp must be Unix seconds. |
meter.timestamp_must_be_within_the_past_35 | E5672 | 400 | invalid_request_error | timestamp must be within the past 35 days and at most 5 minutes in the future. |
omise
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
omise.is_not_a_bank_supports_send_as | E1826 | 400 | invalid_request_error | "{choice}" is not a bank {rail_display_names} supports: send {param} as one of {codes}. |
omise.is_not_a_phone_number_accepts_send | E1827 | 400 | invalid_request_error | "{raw}" is not a phone number {name} accepts: send {param} {hint}. |
omise.needs_the_payer_s_bank_send_as | E1828 | 400 | invalid_request_error | {rail_display_names} needs the payer's bank: send {param} as one of {codes}. |
omise.needs_the_payer_s_phone_number_send | E1829 | 400 | invalid_request_error | {name} needs the payer's {name_2} phone number: send {param}, or set the customer's phone. |
omise.needs_the_payer_s_shipping_address_in | E1830 | 400 | invalid_request_error | {rail_display_names} needs the payer's shipping address in {country}: set shipping.address on the customer. |
payment
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
payment.return_url_is_required_for_an_on | E1831 | 400 | invalid_request_error | return_url is required for an on-session card payment, which may need 3-D Secure. Send return_url, or off_session: true for a charge the customer is not present for. |
payment.return_url_is_required_for_card_payments | E1832 | 400 | invalid_request_error | return_url is required for card payments that may need 3-D Secure; set a success_url on the checkout or a return_url on the payment |
payment.the_payer_s_email_is_required_for | E1833 | 400 | invalid_request_error | The payer's email is required for a {charge_method} payment. Send payer_email (receipt_email on a payment intent), or charge a customer that has an email. |
payment.cannot_create_charge_payment_method_lookup | E2443 | 400 | invalid_request_error | Cannot create charge: payment_method "{payment_method_id}" lookup failed — {message} |
payment.cannot_pay_charge | E2444 | 400 | invalid_request_error | Cannot pay charge "{id}": {message} |
payment.cannot_pay_charge_customer_lookup_failed | E2445 | 400 | invalid_request_error | Cannot pay charge "{id}": customer lookup failed — {message} |
payment.cannot_pay_charge_payment_method_lookup_failed | E2446 | 400 | invalid_request_error | Cannot pay charge "{id}": payment_method "{payment_method_id}" lookup failed — {message} |
payment.charge_was_paid_but_the_auto_capture | E2447 | 400 | invalid_request_error | Charge "{id}" was paid but the auto-capture did not complete: {message} |
payment.cannot_apply_payment_to_charge_payment_method | E4040 | 400 | invalid_request_error | Cannot apply payment to charge "{id}": payment_method "{id_2}" is not linked to any customer. |
payment.cannot_apply_payment_to_charge_payment_method_2 | E4041 | 400 | invalid_request_error | Cannot apply payment to charge "{id}": payment_method "{id_2}" belongs to a different customer than the one on this charge. |
payment.cannot_capture_charge_the_capture_amount_cannot | E4042 | 400 | invalid_request_error | Cannot capture charge "{id}": the capture amount ({amount}) cannot exceed the charge amount ({amount_2}). |
payment.cannot_capture_charge_the_capture_amount_must | E4043 | 400 | invalid_request_error | Cannot capture charge "{id}": the capture amount must be greater than zero (received {amount}). |
payment.cannot_capture_charge_yet_it_has_no | E4044 | 409 | invalid_request_error | Cannot capture charge "{id}" yet: it has no settled connector authorization. If the payment just completed, retry in a moment. |
payment.cannot_capture_part_of_charge_its_connector | E4045 | 400 | invalid_request_error | Cannot capture part of charge "{id}": its connector can capture this authorization only in full ({amount}). Nothing was captured. |
payment.cannot_create_charge_a_saved_payment_method | E4046 | 400 | invalid_request_error | Cannot create charge: a saved payment_method cannot be charged on a charge with no owning customer. |
payment.cannot_create_charge_payment_method_belongs_to | E4047 | 400 | invalid_request_error | Cannot create charge: payment_method "{id}" belongs to customer "{customer_id}", not "{id_2}". |
payment.cannot_create_charge_payment_method_is_not | E4048 | 400 | invalid_request_error | Cannot create charge: payment_method "{id}" is not linked to any customer. Attach it to a customer and retry. |
payment.cannot_pay_charge_it_has_already_been | E4049 | 409 | invalid_request_error | Cannot pay charge "{id}": it has already been paid. |
payment.cannot_pay_charge_it_has_already_been_2 | E4050 | 409 | invalid_request_error | Cannot pay charge "{id}": it has already been captured. |
payment.cannot_pay_charge_it_has_already_been_3 | E4051 | 409 | invalid_request_error | Cannot pay charge "{id}": it has already been canceled. |
payment.cannot_pay_charge_it_has_already_been_4 | E4052 | 409 | invalid_request_error | Cannot pay charge "{id}": it has already been refunded. |
payment.cannot_pay_charge_payment_method_belongs_to | E4053 | 400 | invalid_request_error | Cannot pay charge "{id}": payment_method "{id_2}" belongs to a different customer than the one on this charge. |
payment.cannot_pay_charge_payment_method_is_not | E4054 | 400 | invalid_request_error | Cannot pay charge "{id}": payment_method "{id_2}" is not linked to any customer. Attach it to a customer and retry. |
payment.cannot_process_charge_it_has_already_been | E4055 | 409 | invalid_request_error | Cannot process charge "{id}": it has already been captured. |
payment.cannot_process_charge_it_has_already_been_2 | E4056 | 409 | invalid_request_error | Cannot process charge "{id}": it has already been canceled. |
payment.cannot_process_charge_it_has_already_been_3 | E4057 | 409 | invalid_request_error | Cannot process charge "{id}": it has already been refunded. |
payment.cannot_process_charge_it_has_not_been | E4058 | 409 | invalid_request_error | Cannot process charge "{id}": it has not been paid yet. |
payment.charge_collects_invoice_set_application_fee | E4059 | 409 | invalid_request_error | charge "{id}" collects invoice "{inv_id}"; set application_fee_amount and transfer_data on the invoice. |
payment.charge_declined_by_fraud_screening | E4060 | 402 | card_error | Charge declined by fraud screening. |
payment.charge_held_pending_fraud_review_the_merchant | E4061 | 402 | card_error | Charge held pending fraud review. The merchant has been notified. |
payment.charge_is_attached_to_an_invoice_partial | E4062 | 400 | invalid_request_error | Charge "{id}" is attached to an invoice — partial capture is not allowed; capture the full amount or detach the invoice first. |
payment.charge_was_created_before_connect_terms | E4063 | 409 | invalid_request_error | charge "{id}" was created before Connect terms; application_fee_amount and transfer_data cannot be set at capture. |
payment.manual_capture_is_not_supported_for_payment | E4064 | 400 | invalid_request_error | Manual capture is not supported for payment method "{charge_method}". Use capture_method="automatic", or choose a payment method that supports authorization and capture. |
payment.transfer_data_destination_is_not_an_active | E4065 | 400 | invalid_request_error | transfer_data.destination "{dest}" is not an active connected account of this merchant. |
payment_intent
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
payment_intent.is_reserved_for_payment_state_and_cannot | E1834 | 400 | invalid_request_error | {param} is reserved for payment state and cannot be set; use another key. |
payment_intent.is_used_only_to_confirm_send_it | E1835 | 400 | invalid_request_error | {param} is used only to confirm: send it with confirm=true, or on POST /payment_intents/:id/confirm. |
payment_intent.payment_method_data_type_must_be_crypto | E1836 | 400 | invalid_request_error | payment_method_data.type must be crypto with payment_method_options.crypto. |
payment_intent.payment_method_is_not_allowed_for_this | E1837 | 400 | invalid_request_error | Payment method "{method_type}" is not allowed for this payment intent. |
payment_intent.payment_method_type_is_required_to_confirm | E1838 | 400 | invalid_request_error | payment_method.type is required to confirm |
payment_intent.payment_method_type_must_be_one_of | E1839 | 400 | invalid_request_error | payment_method.type "{method_type}" must be one of payment_method_types, or leave payment_method_types out. |
payment_intent.the_payment_method_belongs_to_a_different | E1840 | 400 | invalid_request_error | The payment method belongs to a different connector than this payment intent. |
payment_intent.transaction_verification_options_needs_network | E1841 | 400 | invalid_request_error | transaction_verification_options needs network and transaction_hash. |
payment_intent.transaction_verification_records_a_settled | E1842 | 400 | invalid_request_error | transaction_verification records a settled transfer: send confirm=true. |
payment_intent.a_succeeded_payment_intent_cannot_be_canceled | E4066 | 409 | invalid_request_error | a succeeded payment_intent cannot be canceled |
payment_intent.cannot_capture_on_payment_intent_it_is | E4067 | 400 | invalid_request_error | Cannot capture {amount} on payment intent "{id}": it is more than the {amount_2} authorized. |
payment_intent.cannot_confirm_payment_intent_it_is_retrieve | E4068 | 400 | invalid_request_error | Cannot confirm payment intent "{id}": it is {status}. Retrieve it to check its status. |
payment_intent.charge_is_already_captured_its_application_fee | E4069 | 409 | invalid_request_error | charge "{id}" is already captured; its application fee and transfer amount can no longer change. |
payment_intent.manual_capture_is_not_supported_for_payment | E4070 | 400 | invalid_request_error | Manual capture is not supported for payment method "{method}". Use capture_method="automatic", or restrict payment_method_types to methods that support manual capture. |
payment_intent.payment_intent_can_no_longer_change_amount | E4071 | 409 | invalid_request_error | payment_intent "{id}" can no longer change amount, currency, or customer once it has been confirmed (status {status}). |
payment_intent.payment_intent_collects_invoice_set_its_connect | E4072 | 409 | invalid_request_error | payment_intent "{id}" collects invoice "{invoice_id}"; set its Connect terms on the invoice. |
payment_intent.payment_intent_has_no_authorized_charge_to | E4073 | 400 | invalid_request_error | Payment intent "{id}" has no authorized charge to capture. Confirm it first. |
payment_intent.payment_intent_is_and_cannot_be_modified | E4074 | 409 | invalid_request_error | payment_intent "{id}" is {status} and cannot be modified |
payment_intent.payment_intent_is_its_application_fee_amount | E4075 | 409 | invalid_request_error | payment_intent "{id}" is {status}; its application_fee_amount, transfer_data and transfer_group can no longer change. |
payment_intent.this_payment_intent_could_not_be_captured | E4076 | 400 | invalid_request_error | This payment intent could not be captured because it has a status of {status}. Only a payment intent with status {status_requires_capture} can be captured. |
payment_intent.you_cannot_cancel_this_payment_intent_because | E4077 | 400 | invalid_request_error | You cannot cancel this payment intent because its status is {status}. |
payment_intent.not_found | E4190 | 404 | invalid_request_error | The requested payment intent could not be found. Check the id and try again. |
payment_intent.create.failed | E4191 | 500 | api_error | The payment intent could not be created. Verify the amount, currency, and customer fields, then try again. |
payment_intent.retrieve.failed | E4192 | 500 | api_error | We couldn't load this payment intent. Check the id and try again. |
payment_intent.update.failed | E4193 | 500 | api_error | The payment intent could not be updated. Check the fields you sent and try again. |
payment_intent.finite_state | E4194 | 409 | invalid_request_error | This payment intent is already in a final state and cannot be modified. |
payment_intent.confirm.failed | E4195 | 500 | api_error | The payment intent could not be confirmed. Try again, or use a different payment method. |
payment_intent.capture.failed | E4196 | 500 | api_error | The payment intent could not be captured. Verify it is in the requires_capture state, then retry. |
payment_intent.expired | E4197 | 409 | invalid_request_error | This payment intent expired before it was completed. Create a new one to try again. |
payment_intent.unexpected_state | E4199 | 400 | invalid_request_error | This payment intent is not in a state that allows this action. Retrieve it to check its status, then retry. |
payment_link
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
payment_link.a_link_of_recurring_prices_bills_through | E1843 | 400 | invalid_request_error | A link of recurring prices bills through the subscription's own invoices; turn invoice_creation off. |
payment_link.a_link_of_recurring_prices_cannot_charge | E1844 | 400 | invalid_request_error | A link of recurring prices cannot charge shipping. |
payment_link.a_link_of_recurring_prices_cannot_withhold | E1845 | 400 | invalid_request_error | A link of recurring prices cannot withhold tax. |
payment_link.a_link_of_recurring_prices_captures_each | E1846 | 400 | invalid_request_error | A link of recurring prices captures each payment when it is made; manual capture is for one-time prices. |
payment_link.a_link_takes_either_a_coupon_in | E1847 | 400 | invalid_request_error | A link takes either a coupon in discounts or allow_promotion_codes, not both: an invoice holds one discount. |
payment_link.a_payment_link_sells_1_to_line | E1848 | 400 | invalid_request_error | A payment link sells 1 to {max_line_items} line items. |
payment_link.a_payment_link_sells_either_one_time | E1849 | 400 | invalid_request_error | A payment link sells either one-time prices or recurring prices, not both. |
payment_link.a_recurring_price_s_quantity_cannot_be | E1850 | 400 | invalid_request_error | A recurring price's quantity cannot be adjustable. |
payment_link.adjustable_quantity_needs_0_minimum_maximum | E1851 | 400 | invalid_request_error | adjustable_quantity needs 0 <= minimum <= maximum <= {max_quantity}. |
payment_link.after_completion_type_must_be_hosted | E1852 | 400 | invalid_request_error | after_completion.type must be hosted_confirmation or redirect. |
payment_link.custom_message_is_at_most_characters | E1853 | 400 | invalid_request_error | custom_message is at most {max_custom_message_runes} characters. |
payment_link.customer_creation_must_be_if_required_or | E1854 | 400 | invalid_request_error | customer_creation must be if_required or always. |
payment_link.inactive_message_is_at_most_characters | E1855 | 400 | invalid_request_error | inactive_message is at most {max_inactive_message_rune} characters. |
payment_link.link_is_required | E1856 | 400 | invalid_request_error | link is required |
payment_link.payment_link_is_required_name_the_payment | E1857 | 400 | invalid_request_error | payment_link is required: name the payment link whose checkout sessions to list. |
payment_link.price_bills_every_but_the_link_s | E1858 | 400 | invalid_request_error | Price "{id}" bills every {every}, but the link's other prices bill every {interval}. |
payment_link.price_is_in_but_the_link_s | E1859 | 400 | invalid_request_error | Price "{id}" is in {currency}, but the link's other prices are in {currency_2}; every price must share one currency. |
payment_link.price_is_metered_a_payment_link_sells | E1860 | 400 | invalid_request_error | Price "{id}" is metered; a payment link sells prices with an amount. |
payment_link.quantity_is_outside_adjustable_quantity_s_range | E1861 | 400 | invalid_request_error | quantity {qty} is outside adjustable_quantity's range {lo} to {hi}. |
payment_link.quantity_must_be_between_1_and | E1862 | 400 | invalid_request_error | quantity must be between 1 and {max_quantity}. |
payment_link.redirect_url_must_be_an_https_url | E1863 | 400 | invalid_request_error | redirect.url must be an https URL. |
payment_link.subscription_data_needs_recurring_prices_in_line | E1864 | 400 | invalid_request_error | subscription_data needs recurring prices in line_items. |
payment_link.tax_fees_a_coupon_shipping_withholding_or | E1865 | 400 | invalid_request_error | Tax, fees, a coupon, shipping, withholding or a connected destination price each payment as an invoice; leave invoice_creation on. |
payment_link.tax_rate_does_not_exist | E1866 | 400 | invalid_request_error | Tax rate "{id}" does not exist. |
payment_link.tax_rate_is_archived | E1867 | 400 | invalid_request_error | Tax rate "{id}" is archived. |
payment_link.tax_rates_are_not_available | E1868 | 400 | invalid_request_error | Tax rates are not available. |
payment_link.thai_withholding_tax_applies_only_to_thb | E1869 | 400 | invalid_request_error | Thai withholding tax applies only to THB prices. |
payment_link.the_limit_is_at_least_1 | E1870 | 400 | invalid_request_error | The limit is at least 1. |
payment_link.the_link_has_no_line_item | E1871 | 400 | invalid_request_error | The link has no line item "{id}". |
payment_link.this_payment_link_completed_its_limit_of | E1872 | 409 | invalid_request_error | This payment link completed its limit of {completed_sessions_limit} payments. Raise restrictions.completed_sessions.limit to activate it again. |
payment_link.this_payment_link_has_reached_its_limit | E1873 | 409 | invalid_request_error | This payment link has reached its limit of completed payments. |
payment_link.this_payment_link_is_no_longer_active | E1874 | 409 | invalid_request_error | This payment link is no longer active. |
payment_link.this_payment_link_session_is_already_complete | E1875 | 409 | invalid_request_error | This payment link session is already complete. |
payment_link.trial_period_days_must_be_between_0 | E1876 | 400 | invalid_request_error | trial_period_days must be between 0 and {max_trial_period_days}. |
payment_link.on_behalf_of_must_name_the_same | E4078 | 400 | invalid_request_error | on_behalf_of must name the same connected account as transfer_data.destination. |
payment_link.this_payment_link_does_not_exist | E8064 | 404 | invalid_request_error | This payment link does not exist. |
payment_method
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
payment_method.this_card_form_was_already_submitted | E1877 | 409 | invalid_request_error | This card form was already submitted. |
payment_method.this_payment_method_is_not_saved_on | E1878 | 400 | invalid_request_error | This payment method is not saved on a connector account, so there is nothing to locate. |
payment_method.payment_method_types_contains_methods_that_are | E3569 | 422 | invalid_request_error | payment_method_types contains methods that are not routed for {country}: {methods}. An administrator assigns methods to connectors in connector routing — pick a routed method, or ask them to assign these. |
payment_method.cannot_charge_payment_method_through_connector_it | E4079 | 400 | invalid_request_error | Cannot charge payment_method "{id}" through connector "{requested}": it was saved on "{home}" and its stored token is only redeemable there. |
payment_method.not_found | E6300 | 404 | invalid_request_error | The requested payment method could not be found. Check the id and try again. |
payment_method.create.failed | E6301 | 500 | api_error | The payment method could not be created. Verify the request body and try again. |
payment_method.retrieve.failed | E6302 | 500 | api_error | We couldn't load this payment method. Check the id and try again. |
payment_method.update.failed | E6303 | 500 | api_error | The payment method could not be updated. Verify the request and try again. |
payment_method.delete.failed | E6304 | 500 | api_error | The payment method could not be deleted. |
payment_method.last_card | E6305 | 409 | invalid_request_error | The account has only one card. Please add a new one before proceeding |
payment_method.customer_mismatch | E6306 | 409 | invalid_request_error | That payment method belongs to a different customer. |
payment_method.no_payment_method_is_named_by_an | E6523 | 404 | invalid_request_error | No payment method is named by an empty reference. |
payment_method.no_setup_intent_found_for_the_requested | E6524 | 404 | invalid_request_error | no setup intent found for the requested id; it may have expired |
payment_method.no_setup_intent_found_for_the_requested_2 | E6525 | 404 | invalid_request_error | no setup intent found for the requested application/country |
payout
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
payout.a_bank_file_holds_at_most_payouts | E1879 | 400 | invalid_request_error | A bank file holds at most {max_rows} payouts. |
payout.a_batch_pays_at_most_rows_split | E1880 | 400 | invalid_request_error | a batch pays at most {max_rows} rows; split the file. |
payout.a_reason_is_required_to_unwind_an | E1881 | 400 | invalid_request_error | A reason is required to unwind an approved payout. |
payout.allow_overpay_applies_only_to_a_payout | E1882 | 400 | invalid_request_error | allow_overpay applies only to a payout to a connected account. |
payout.application_fee_amount_is_not_supported_on | E1883 | 400 | invalid_request_error | application_fee_amount is not supported on payouts: application fees are collected on destination charges. Omit application_fee_amount. |
payout.approve_at_most_payouts_at_once | E1884 | 400 | invalid_request_error | Approve at most {max_rows} payouts at once. |
payout.expected_fee_is_required_send_the_fee | E1885 | 400 | invalid_request_error | expected_fee is required: send the fee GET /payouts/instant_quote returned. |
payout.forex_quote_id_is_not_supported_on | E1886 | 400 | invalid_request_error | forex_quote_id is not supported on payouts: a payout is paid in its balance's currency. Omit forex_quote_id. |
payout.funding_must_be_merchant_rail | E1887 | 400 | invalid_request_error | funding must be merchant_rail. |
payout.idempotency_key_values_starting_with_auto_or | E1888 | 400 | invalid_request_error | Idempotency-Key values starting with auto_ or instant_ are reserved for Paycose's own payouts; use another key. |
payout.name_the_payouts_to_approve_or_approve | E1889 | 400 | invalid_request_error | Name the payouts to approve, or approve all of them. |
payout.only_a_batch_paid_manually_takes_transfer | E1890 | 400 | invalid_request_error | only a batch paid manually takes transfer slips. |
payout.purpose_must_be_disbursement_or_owed_settlement | E1891 | 400 | invalid_request_error | purpose must be disbursement or owed_settlement. |
payout.send_either_bank_account_id_or_crypto | E1892 | 400 | invalid_request_error | Send either bank_account_id or crypto_payout_destination, not both. |
payout.slips_cannot_prove_a | E1893 | 400 | invalid_request_error | slips cannot prove a "{subject_type}". |
payout.the_administrator_unwinding_the_payout_must_be | E1894 | 400 | invalid_request_error | The administrator unwinding the payout must be identified. |
payout.the_payout_bank_was_changed_at_the | E1895 | 409 | invalid_request_error | The payout bank was changed at the same time elsewhere. Reload and pick it again. |
payout.only_an_approved_batch_that_is_still | E2448 | 400 | invalid_request_error | Only an approved batch that is still open can be retried. |
payout.payout_could_not_be_posted_to_the | E2449 | 400 | invalid_request_error | Payout "{payout_id}" could not be posted to the ledger. |
payout.this_batch_can_no_longer_be_canceled | E2450 | 400 | invalid_request_error | This batch can no longer be canceled: it is being paid out now, or some of its payouts already went out. Follow those payouts up one by one. |
payout.you_confirmed_lines_totalling_it_is_now | E2451 | 400 | invalid_request_error | You confirmed {expected_count} lines totalling {expected_total}; it is now {count} totalling {total}. Refresh and confirm again. |
payout.a_payout_from_the_merchant_s_own | E4080 | 400 | invalid_request_error | a payout from the merchant's own connector balance carries no Paycose payout fee |
payout.bank_account | E4081 | 422 | invalid_request_error | Bank account {bank}: {issue}. |
payout.bank_account_has_no_verified_recipient_yet | E4082 | 409 | invalid_request_error | Bank account "{id}" has no verified {connector} recipient yet; it is paid on the first run after the connector verifies it. |
payout.bank_account_has_no_verified_recipient_yet_2 | E4083 | 409 | invalid_request_error | Bank account "{id}" has no verified {connector} recipient yet. Approve this payout once the connector confirms the recipient. |
payout.bank_account_is_not_an_active_recipient | E4084 | 409 | invalid_request_error | Bank account "{id}" is not an active {connector} recipient yet; try again once {connector_2} activates it. |
payout.bank_account_is_not_verified_at_yet | E4085 | 409 | invalid_request_error | Bank account "{id}" is not verified at {connector} yet, so it cannot be paid instantly. Try again once it is verified. |
payout.can_be_paid_out_now_which_does | E4086 | 422 | invalid_request_error | {amount} can be paid out now, which does not cover the instant payout fee of {fee}. |
payout.cannot_generate_qrcode_in_payout_s_current | E4087 | 409 | invalid_request_error | cannot generate qrcode in payout's current state |
payout.connected_account_has_active_bank_accounts_in | E4088 | 422 | invalid_request_error | Connected account {acct} has {count} active bank accounts in this country; choose one with bank_account. |
payout.instant_payouts_are_paid_only_in_this | E4089 | 400 | invalid_request_error | Instant payouts are paid only in {default_currency}, this country's currency. |
payout.net_payout_amount_must_be_greater_than | E4090 | 400 | invalid_request_error | net payout amount must be greater than 0 |
payout.payee_creation_is_not_wired_on_this | E4091 | 422 | invalid_request_error | Payee creation is not wired on this deployment. |
payout.payout_carries_a_synthetic_connector_reference_so | E4092 | 409 | invalid_request_error | Payout "{id}" carries a synthetic connector reference, so it is confirmed by an administrator, never automatically. |
payout.payout_fees_must_not_be_negative | E4093 | 400 | invalid_request_error | payout fees must not be negative |
payout.payout_has_a_connector_instruction_in_flight | E4094 | 409 | invalid_request_error | Payout "{id}" has a connector instruction in flight or unresolved; wait for the connector to confirm its outcome before canceling. |
payout.payout_instruction_is_already_and_cannot_be | E4095 | 409 | invalid_request_error | Payout "{id}" instruction is already {instruction_state} and cannot be unwound. |
payout.payout_is_a_usdc_transfer_paycose_sends | E4096 | 409 | invalid_request_error | Payout "{id}" is a USDC transfer Paycose sends on-chain once approved, so it cannot be canceled. |
payout.payout_is_already_paid_canceled_or_failed | E4097 | 409 | invalid_request_error | Payout "{id}" is already paid, canceled or failed and cannot be unwound. |
payout.payout_is_an_instant_payout_and_cannot | E4098 | 409 | invalid_request_error | Payout "{payout_id}" is an instant payout and cannot be canceled. If the transfer fails, Paycose returns the amount and the fee. |
payout.payout_is_approved_and_has_no_connector | E4099 | 409 | invalid_request_error | Payout "{id}" is approved and has no connector transfer that can be canceled; only Paycose can unwind it. |
payout.payout_is_not_approved_yet_reject_it | E4121 | 409 | invalid_request_error | Payout "{id}" is not approved yet; reject it instead of unwinding it. |
payout.payout_method_must_be_or | E4146 | 400 | invalid_request_error | payout method must be "{method_standard}" or "{method_instant}" |
payout.payout_reference_was_not_found | E4147 | 404 | invalid_request_error | Payout "{id}" (reference "{reference_id}") was not found. |
payout.payout_was_and_cannot_be_marked_as | E4148 | 409 | invalid_request_error | Payout "{id}" was {po} and cannot be marked as paid. |
payout.payout_was_and_cannot_be_marked_as_2 | E4149 | 409 | invalid_request_error | Payout "{id}" was {fresh} and cannot be marked as paid. |
payout.payout_was_instructed_through_cancel_the | E4157 | 409 | invalid_request_error | Payout "{id}" was instructed through {connector_id}; cancel the transfer with the connector so its confirmed cancel unwinds the payout. |
payout.payout_was_never_instructed_so_it_cannot | E4158 | 409 | invalid_request_error | Payout "{id}" was never instructed, so it cannot be marked as paid. |
payout.payouts_in_this_country_are_approved_by | E4159 | 409 | invalid_request_error | Payouts in this country are approved by Paycose one by one, so instant payouts are off. Contact Paycose support. |
payout.reported_paid_after_reversed | E4160 | 409 | invalid_request_error | Payout "{id}" was reported paid after its instruction had been reversed. |
payout.some_payout_rows_cannot_be_paid | E4161 | 422 | invalid_request_error | Some payout rows cannot be paid as written: {rows}. Preview the file to see every row. |
payout.the_instant_payout_fee_is_now_on | E4178 | 409 | invalid_request_error | The instant payout fee is now {fee} on {amount}, not the {expected_fee} you confirmed. Get a new quote and confirm again. |
payout.the_instant_payout_rail_has_no_business | E4179 | 409 | invalid_request_error | The instant payout rail has no business profile for this country yet. |
payout.the_payout_cannot_be_canceled_in_its | E4183 | 409 | invalid_request_error | the payout cannot be canceled in its current state |
payout.the_payout_rail_in_this_country_does | E4184 | 409 | invalid_request_error | The payout rail in this country ({connector}) does not pay instantly, so instant payouts are not offered. |
payout.the_payout_status_must_be_waiting_for | E4185 | 409 | invalid_request_error | the payout status must be 'waiting_for_approval' to proceed |
payout.to_pay_a_connected_account_connect_your | E4186 | 409 | invalid_request_error | To pay a connected account, connect your own Wise account under API keys → Connectors, or record the transfer under the connected account instead. {reason} |
payout.unwound_but_connector_accepted | E4187 | 409 | invalid_request_error | Payout "{id}" was unwound while its connector instruction was in flight, but the connector accepted transfer "{transfer}". |
payout.not_found | E4300 | 404 | invalid_request_error | The requested payout could not be found. Check the id and try again. |
payout.create.failed | E4301 | 500 | api_error | The payout could not be created. Verify the request body and try again. |
payout.approve.failed | E4302 | 500 | api_error | The approval on payout did not complete. Try again shortly. |
payout.qr.create_failed | E4303 | 500 | api_error | The payout QR code could not be created. Verify the request body and try again. |
payout.cancel.failed | E4304 | 500 | api_error | The payout could not be canceled. Check its current status, then retry. |
payout.retrieve.failed | E4305 | 500 | api_error | We couldn't load this payout. Check the id and try again. |
payout.refund_tx.failed | E4306 | 500 | api_error | The refund on payout transaction did not complete. Try again, or contact support. |
payout.reference_or_file | E4307 | 400 | invalid_request_error | Provide either a reference_id or a file_id, but not both. |
payout.third_party.unsupported | E4308 | 400 | invalid_request_error | Application customer does not support third-party payout |
payout.amount.invalid | E4309 | 400 | invalid_request_error | The payout amount must be greater than zero. |
payout.finite_state | E4310 | 409 | invalid_request_error | Payout cannot be modified in its current state |
payout.bank.unsupported | E4311 | 400 | invalid_request_error | Unsupported bank account type for payout QR code |
payout.update.failed | E4312 | 500 | api_error | The payout could not be updated. Check the fields you sent and try again. |
payout.list.failed | E4313 | 500 | api_error | We couldn't list payouts right now. Try again, or narrow the filter. |
payout.already.approved | E4314 | 409 | invalid_request_error | This payout has already been approved. No further approval is needed. |
payout.already.canceled | E4315 | 409 | invalid_request_error | This payout has already been canceled. No further action is needed. |
payout.recipient.unverified | E4316 | 409 | invalid_request_error | The payout bank account has no verified recipient at the payout connector yet. Approve this payout once the connector confirms the recipient. |
payout.qr.thb_only | E4323 | 400 | invalid_request_error | PromptPay payout QR codes pay THB only; this payout is in {currency}. |
payout.schedule.automatic | E4330 | 409 | invalid_request_error | A payout of this balance is created automatically every day, so one cannot be requested. Use an instant payout to be paid sooner. |
payout.instant.disabled | E4331 | 409 | invalid_request_error | Instant payouts are not turned on for this country. Contact Paycose support to enable them. |
payout.instant.no_rail | E4332 | 409 | invalid_request_error | No Paycose payout rail that pays instantly is available in this country. |
payout.instant.nothing_to_pay | E4333 | 422 | invalid_request_error | Nothing can be paid out now: only sales that have settled and been reconciled are paid. |
payout.instant.below_fee | E4334 | 422 | invalid_request_error | The amount you can pay out now does not cover the instant payout fee. |
payout.instant.currency | E4335 | 400 | invalid_request_error | Instant payouts are paid only in the country's own currency. |
payout.instant.fee_changed | E4336 | 409 | invalid_request_error | The instant payout fee is no longer the one you were quoted. Get a new quote and confirm again. |
payout.instant.not_allowed | E4337 | 409 | invalid_request_error | Instant payouts are paused for this account. Contact Paycose support. |
payout.bank.invalid | E4338 | 400 | invalid_request_error | Pick an active, verified bank account of your own to be paid to. |
payout.own_account_only | E4339 | 400 | invalid_request_error | Only your own balance can be paid out this way, not a connected account's. |
payout.application_fee.requires_connected | E4921 | 400 | invalid_request_error | Application fees apply only to payouts of connected accounts. |
payout.connected_record_only | E4930 | 409 | invalid_request_error | Paycose pays connected accounts only through your own payout connector; connect your Wise account, or record the transfer under the connected account instead. |
payout_batch
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
payout_batch.currency_is_required_a_payout_batch_pays | E1896 | 400 | invalid_request_error | currency is required: a payout batch pays one currency. |
payout_batch.method_must_be_manual_or_a_payout | E1897 | 400 | invalid_request_error | method must be manual or a payout connector such as wise or omise_payout. |
payout_batch.no_payout_batch_in_this_list_has | E1898 | 400 | invalid_request_error | No payout batch in this list has id {id}. |
payout_batch.status_must_be_one_of_awaiting_approval | E1900 | 400 | invalid_request_error | status must be one of awaiting_approval, processing, completed, completed_with_failures, canceled, empty. |
payout_batch.the_file_is_not_a_readable_csv | E1901 | 400 | invalid_request_error | the file is not a readable CSV: {reason} |
payout_batch.the_file_needs_a_header_row_and | E1902 | 400 | invalid_request_error | the file needs a header row and at least one payee row. |
payout_batch.the_file_needs_an_amount_column | E1903 | 400 | invalid_request_error | the file needs an amount column. |
payout_batch.the_uploaded_file_could_not_be_read | E1905 | 400 | invalid_request_error | the uploaded file could not be read. |
payout_batch.not_found | E4317 | 404 | invalid_request_error | No payout batch with this id was found. |
payout_batch.not_open | E4318 | 409 | invalid_request_error | This payout batch was already approved or canceled. Refresh to see where it stands. |
payout_batch.nothing_to_pay | E4319 | 422 | invalid_request_error | None of the requested lines can be paid out: each one is empty, owes Paycose, or has no verified bank account. |
payout_batch.selection_drift | E4320 | 409 | invalid_request_error | What merchants are owed changed since you looked. Refresh, check the new totals and confirm again. |
payout_batch.currency_mixed | E4321 | 400 | invalid_request_error | A payout batch pays one currency. Pick lines in a single currency. |
payout_batch.rows_invalid | E4322 | 422 | invalid_request_error | Some payout rows cannot be paid as written. Fix the rows listed in details and submit again. |
platform_credit
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
platform_credit.a_payment_for_this_top_up_is | E1906 | 400 | invalid_request_error | A payment for this top-up is in progress. Wait for it to finish. |
platform_credit.a_top_up_must_be_at_least | E1907 | 400 | invalid_request_error | a top-up must be at least {max64} |
platform_credit.add_a_card_to_your_paycose_account | E1908 | 400 | invalid_request_error | Add a card to your Paycose account first: top-ups are charged to a saved card. |
platform_credit.an_adjustment_needs_a_non_zero_amount | E1909 | 400 | invalid_request_error | an adjustment needs a non-zero amount |
platform_credit.an_adjustment_needs_a_reason | E1910 | 400 | invalid_request_error | an adjustment needs a reason |
platform_credit.an_automatic_top_up_needs_a_saved | E1911 | 400 | invalid_request_error | an automatic top-up needs a saved payment method to charge off-session |
platform_credit.application_country_and_currency_are_required | E1912 | 400 | invalid_request_error | application country and currency are required |
platform_credit.auto_top_up_needs_a_card_saved | E1913 | 400 | invalid_request_error | auto top-up needs a card saved on the platform credit billing account: pay one top-up with a card and it is saved for the next ones |
platform_credit.auto_top_up_needs_a_card_the | E1914 | 400 | invalid_request_error | auto top-up needs a card: the chosen card is not saved on the platform credit billing account, so add a card or choose another one |
platform_credit.auto_top_up_needs_an_amount_greater | E1915 | 400 | invalid_request_error | auto top-up needs an amount greater than zero |
platform_credit.credit_settings_belong_to_the_application_a | E1916 | 400 | invalid_request_error | credit settings belong to the application; a customer holder is not supported |
platform_credit.currency_must_be_a_three_letter_iso | E1917 | 400 | invalid_request_error | currency must be a three-letter ISO 4217 code |
platform_credit.is_not_a_currency_of_this_account | E1919 | 400 | invalid_request_error | {currency} is not a currency of this account's platform credit. Use the account's default currency or one it already holds credit in. |
platform_credit.locale_must_be_en_th_or_auto | E1920 | 400 | invalid_request_error | locale must be en, th or auto |
platform_credit.no_card_is_saved_on_the_platform | E1921 | 400 | invalid_request_error | no card is saved on the platform credit billing account yet |
platform_credit.only_a_top_up_waiting_for_payment | E1922 | 400 | invalid_request_error | Only a top-up waiting for payment can be canceled. |
platform_credit.paycose_credit_top_ups_are_paused_for | E1923 | 400 | invalid_request_error | Paycose credit top-ups are paused for this country. |
platform_credit.several_cards_are_saved_choose_the_one | E1924 | 400 | invalid_request_error | Several cards are saved: choose the one to charge. |
platform_credit.several_cards_are_saved_on_the_platform | E1925 | 400 | invalid_request_error | several cards are saved on the platform credit billing account: choose the one auto top-up charges |
platform_credit.the_auto_top_up_threshold_cannot_be | E1926 | 400 | invalid_request_error | the auto top-up threshold cannot be negative |
platform_credit.the_paycose_billing_account_was_changed_by | E1927 | 409 | invalid_request_error | The Paycose billing account was changed by another request. Try again. |
platform_credit.the_payment_method_is_not_saved_on | E1928 | 400 | invalid_request_error | the payment method is not saved on the platform credit billing account |
platform_credit.this_top_up_has_no_invoice_yet | E1929 | 400 | invalid_request_error | This top-up has no invoice yet. |
platform_credit.this_top_up_is_already_paid_its | E1930 | 400 | invalid_request_error | This top-up is already paid. Its credit is being added. |
platform_credit.this_top_up_is_not_waiting_for | E1931 | 400 | invalid_request_error | This top-up is not waiting for payment. |
platform_credit.view_invoice_needs_the_invoice_id | E1932 | 400 | invalid_request_error | view=invoice needs the invoice id |
platform_credit.view_must_be_one_of_invoice_invoices | E1933 | 400 | invalid_request_error | view must be one of invoice, invoices, payment_methods or customer |
platform_credit.card_was_saved_on_a_connector_account | E3570 | 409 | invalid_request_error | card {id} was saved on a connector account that is no longer usable, so top-ups cannot charge it: re-add the card, then try again |
platform_credit.insufficient | E6262 | 402 | invalid_request_error | Not enough platform credit to cover the service fee for this payment. Top up your platform credit and try again. |
platform_credit.billing_not_configured | E6263 | 409 | invalid_request_error | Paycose billing is not set up for this country yet, so top-ups, invoices and payment methods are unavailable. |
platform_credit.topup_failed | E6265 | 402 | invalid_request_error | The top-up could not be billed. No credit was added — check the details below and try again. |
platform_credit.billing_email_missing | E6266 | 422 | invalid_request_error | This top-up is invoiced by email, but the billing account has no email address yet. Add a payment method on the Billing page to set the invoice email, then try again. |
platform_credit.live_only | E6270 | 409 | invalid_request_error | Paycose credit is live only: test mode never holds, burns or tops up Paycose credit, so fees are shown but not charged. Switch to live mode to manage Paycose credit. |
platform_credit.billing_details_incomplete | E6273 | 422 | invalid_request_error | Add your billing details (legal name, tax ID and branch, billing address and invoice email) before topping up. |
platform_credit.enter_the_email_address_paycose_should_send | E6526 | 422 | invalid_request_error | Enter the email address Paycose should send invoices to before adding a card. |
platform_credit.message | E6527 | 402 | invalid_request_error | {topup_declined} {text} |
platform_credit.the_card_was_not_charged_so_no | E6528 | 402 | invalid_request_error | The card was not charged, so no credit was added. Try another card. |
platform_credit.the_paycose_billing_account_has_no_card | E6529 | 409 | invalid_request_error | The Paycose billing account has no card connector in this mode, so no card can be added to it. |
platform_credit.the_paycose_billing_account_has_no_card_2 | E6530 | 409 | invalid_request_error | The Paycose billing account has no card key in this mode, so Paycose billing is unavailable. |
platform_credit.this_card_is_not_saved_on_your | E6531 | 404 | invalid_request_error | This card is not saved on your Paycose account. |
platform_credit.we_could_not_confirm_the_card_charge | E6532 | 402 | invalid_request_error | We could not confirm the card charge yet. If it went through, the credit is added once the bank confirms it. |
platform_credit.your_bank_wants_to_confirm_this_payment | E6533 | 402 | invalid_request_error | Your bank wants to confirm this payment, which can't be done here. No credit was added. Try another card. |
platform_credit.the_platform_credit_top_up_was_not | E8065 | 404 | invalid_request_error | The platform credit top-up was not found. |
platform_credit.this_top_up_has_no_receipt_yet | E8066 | 404 | invalid_request_error | This top-up has no receipt yet: it is issued once the invoice is paid. |
price
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
price.a_fractional_unit_amount_decimal_is_only | E1934 | 400 | invalid_request_error | A fractional unit_amount_decimal is only supported on usage-based prices. |
price.amount_and_unit_amount_decimal_are_mutually | E1935 | 400 | invalid_request_error | amount and unit_amount_decimal are mutually exclusive; send only one. |
price.amount_must_be_a_positive_value_got | E1936 | 400 | invalid_request_error | amount must be a positive value (got {amount}) |
price.only_the_last_tier_can_have_up | E1938 | 400 | invalid_request_error | Only the last tier can have up_to inf. |
price.tax_behavior_is_not_supported_use_inclusive | E1939 | 400 | invalid_request_error | tax_behavior "{behavior}" is not supported; use inclusive, exclusive or unspecified. |
price.the_last_tier_must_have_up_to | E1940 | 400 | invalid_request_error | The last tier must have up_to inf, so every quantity falls in a tier. |
price.this_application_s_billing_connector_cannot_bill | E1941 | 400 | invalid_request_error | This application's billing connector ({name}) cannot bill a fractional unit price. Use a whole number of minor units. |
price.tiers | E1942 | 400 | invalid_request_error | tiers[{value}]: {value_2} |
price.tiers_mode_is_not_supported_use_graduated | E1943 | 400 | invalid_request_error | tiers_mode "{mode}" is not supported; use graduated or volume. |
price.tiers_mode_needs_tiers_send_tiers_with | E1944 | 400 | invalid_request_error | tiers_mode needs tiers; send tiers with it, or leave tiers_mode out. |
price.tiers_must_be_0_or_more_got | E1945 | 400 | invalid_request_error | tiers[{value}].{field} must be 0 or more; got {value_2}. |
price.tiers_unit_amount_and_unit_amount_decimal | E1946 | 400 | invalid_request_error | tiers[{value}]: unit_amount and unit_amount_decimal are mutually exclusive; send only one. |
price.tiers_up_to_must_be_more_than | E1947 | 400 | invalid_request_error | tiers[{value}].up_to must be more than {prev}: each tier's bound is above the one before it. |
price.unit_amount_decimal_cannot_be_combined_with | E1948 | 400 | invalid_request_error | unit_amount_decimal cannot be combined with tiers. |
price.unit_amount_decimal_must_be_zero_or | E1949 | 400 | invalid_request_error | unit_amount_decimal must be zero or more |
price.unit_amount_decimal_can_have_at_most | E2452 | 400 | invalid_request_error | unit_amount_decimal can have at most 12 decimal places. |
price.unit_amount_decimal_is_not_a_valid | E2453 | 400 | invalid_request_error | unit_amount_decimal is not a valid decimal number. |
price.unit_amount_decimal_must_be_a_non | E2454 | 400 | invalid_request_error | unit_amount_decimal must be a non-negative decimal string such as "0.04" (minor units, no sign or exponent). |
price.unit_amount_decimal_must_be_less_than | E2455 | 400 | invalid_request_error | unit_amount_decimal must be less than 1000000000000. |
price.reference_id.required | E5210 | 400 | invalid_request_error | Price reference_id is required for upsert |
price.not_found | E5220 | 404 | invalid_request_error | The requested price could not be found. Check the id and try again. |
price.create.failed | E5221 | 500 | api_error | The price could not be created. Verify the request body and try again. |
price.update.failed | E5222 | 500 | api_error | The price could not be updated. Verify the request and try again. |
price.delete.failed | E5223 | 500 | api_error | The price could not be deleted. Try again shortly, or contact support if the issue persists. |
price.retrieve.failed | E5224 | 500 | api_error | We couldn't load this price. Check the id and try again. |
price.list.failed | E5225 | 500 | api_error | We couldn't load the list of prices. Try again shortly. |
promptpay_qr
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
promptpay_qr.promptpay_qr_application_country_id_is_required | E1950 | 400 | invalid_request_error | promptpay_qr: application_country_id is required |
promptpay_qr.promptpay_qr_nil_create_params | E1951 | 400 | invalid_request_error | promptpay_qr: nil create params |
connector_connection
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
connector_connection.this_connector_s_account_was_changed_by | E1953 | 409 | invalid_request_error | This connector's account was changed by another request while these keys were being connected. Submit the keys again. |
connector_connection.not_found | E3465 | 404 | invalid_request_error | This connector connection could not be found. Check the connection id, or list the connections for this country. |
connector_connection.not_operable | E3466 | 409 | invalid_request_error | The connector account this object was created with is no longer usable. Restore its API key to finish the objects that still depend on it. |
connector_connection.not_routable | E3467 | 409 | invalid_request_error | This connector account is retired and cannot take new payments. Route the method to an active connection instead. |
connector_connection.missing | E3468 | 409 | invalid_request_error | This object has no connector account recorded, so we cannot safely reach the connector for it. Contact support to repair it. |
connector_connection.account_mismatch | E3469 | 409 | invalid_request_error | These API keys belong to a different connector account than the one already connected. Connect it as an additional account instead of replacing this one. |
connector_connection.account_probe_failed | E3470 | 502 | api_error | We could not verify which connector account these API keys belong to. Check the keys and try again. |
connector_connection.in_use | E3471 | 409 | invalid_request_error | This connector account still has objects depending on it and cannot be deleted. Retire it instead, or wait until those objects are finished. |
connector_connection.already_exists | E3472 | 409 | invalid_request_error | This connector account is already connected for this country and mode. |
connector_connection.ref_unresolved | E3473 | 502 | api_error | This object could not be prepared on the selected connector account. Retry; if this persists the connector rejected the object. |
connector_connection.ref_in_progress | E3474 | 409 | invalid_request_error | This object is still being created on the connector. Retry in a moment. |
connector_connection.operation_conflict | E3475 | 409 | invalid_request_error | This idempotency key was already used with a different request. Use a new key, or resend the original request unchanged. |
connector_connection.operation_in_flight | E3476 | 409 | invalid_request_error | An identical request is still in flight. Retry shortly to read its result. |
connector_connection.this_connector_account_has_no_usable_api | E3571 | 409 | invalid_request_error | This connector account has no usable API key. Reconnect its keys to continue. |
connector_connection.this_connector_account_s_api_key_could | E3572 | 409 | invalid_request_error | This connector account's API key could not be opened. Reconnect its keys to continue. |
connector_webhook_event
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
connector_webhook_event.connector_webhook_event_application_country_id | E1954 | 400 | invalid_request_error | connector_webhook_event: application_country_id required |
connector_webhook_event.connector_webhook_event_enriched_payload_required | E1955 | 400 | invalid_request_error | connector_webhook_event: enriched_payload required |
connector_webhook_event.connector_webhook_event_event_id_required | E1956 | 400 | invalid_request_error | connector_webhook_event: event_id required |
connector_webhook_event.connector_webhook_event_connector_required | E1957 | 400 | invalid_request_error | connector_webhook_event: connector required |
connector_webhook_event.connector_webhook_event_raw_payload_required | E1958 | 400 | invalid_request_error | connector_webhook_event: raw_payload required |
connector_webhook_event.connector_webhook_event_request_id_required | E1959 | 400 | invalid_request_error | connector_webhook_event: request_id required |
connector_webhook_event.connector_webhook_event_routing_key_required | E1960 | 400 | invalid_request_error | connector_webhook_event: routing_key required |
quotation
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
quotation.currency_decimals_is_invalid | E1962 | 400 | invalid_request_error | currency decimals is invalid |
quotation.customer_could_not_be_created_at_which | E1964 | 400 | invalid_request_error | Customer {customer_id} could not be created at {connector_name}, which issues this quote. Check the customer's details and try again. |
quotation.customer_is_required | E1965 | 400 | invalid_request_error | customer is required |
quotation.quantity_unit_price_is_larger_than_the | E1967 | 400 | invalid_request_error | quantity × unit price is larger than the largest amount a quote line can hold. |
quotation.reason_must_be_at_most_characters | E1968 | 400 | invalid_request_error | reason must be at most {quote_decline_reason_max_length} characters |
quotation.the_price_of_changed_after_this_quote | E1969 | 400 | invalid_request_error | The price of "{name}" changed after this quote was finalized (quoted {unit_amount}, now {now} per unit). Revise the quote so the customer accepts what will be billed. |
quotation.finalize_the_quote_before_sharing_it_a | E4188 | 409 | invalid_request_error | finalize the quote before sharing it; a draft quote cannot be accepted |
quotation.only_draft_quote_can_be_deleted | E4189 | 409 | invalid_request_error | only draft quote can be deleted |
quotation.quote_can_be_accepted_only_in_the | E4229 | 409 | invalid_request_error | quote can be accepted only in the open state |
quotation.quote_can_be_canceled_only_in_the | E4230 | 409 | invalid_request_error | quote can be canceled only in the open or draft state |
quotation.quote_can_be_finalized_only_in_the | E4231 | 409 | invalid_request_error | quote can be finalized only in the draft state |
quotation.quote_is_a_draft_finalize_it_to | E4232 | 409 | invalid_request_error | quote is a draft; finalize it to download its PDF |
quotation.quote_is_expired_expires_at_and_can | E4233 | 409 | invalid_request_error | quote is expired (expires_at {utc}) and can no longer be {action} |
quotation.quote_is_only_an_open_quote_can | E4234 | 409 | invalid_request_error | quote is {state}; only an open quote can be shared for acceptance |
quotation.quote_kept_changing_while_this_request_ran | E4235 | 409 | invalid_request_error | Quote "{id}" kept changing while this request ran; retry. |
quotation.this_quote_is_and_can_no_longer | E4236 | 409 | invalid_request_error | This quote is {state} and can no longer be {verb}. |
radar
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
radar.alias_is_letters_digits_and_at_most | E1971 | 400 | invalid_request_error | alias is letters, digits, _ and -, at most 100. |
radar.alias_is_required_letters_digits_and_at | E1972 | 400 | invalid_request_error | alias is required: letters, digits, _ and -, at most 100. |
radar.charge_is_required | E1973 | 400 | invalid_request_error | charge is required. |
radar.days_is_1_to | E1974 | 400 | invalid_request_error | days is 1 to {overview_max_days}. |
radar.fraud_type_must_be_one_of | E1975 | 400 | invalid_request_error | fraud_type must be one of {all_fraud_types}. |
radar.name_is_required_at_most_100_characters | E1976 | 400 | invalid_request_error | name is required, at most 100 characters. |
radar.predicate_is_required_e_g_block_if | E1977 | 400 | invalid_request_error | predicate is required, e.g. Block if :risk_score: > 90. |
radar.value_list_is_required_name_the_list | E1978 | 400 | invalid_request_error | value_list is required: name the list whose items to list. |
radar.value_list.not_found | E9100 | 404 | invalid_request_error | The value list could not be found. Check the id and try again. |
radar.value_list.alias_taken | E9101 | 409 | invalid_request_error | Another value list already uses this alias. Choose a different alias. |
radar.value_list.item_type_invalid | E9102 | 400 | invalid_request_error | item_type must be one of card_bin, card_fingerprint, case_sensitive_string, country, customer_id, email, ip_address or string. |
radar.value_list.default_immutable | E9103 | 409 | invalid_request_error | A default list cannot be renamed or deleted. Remove its items instead. |
radar.value_list_item.not_found | E9104 | 404 | invalid_request_error | The value list item could not be found. Check the id and try again. |
radar.value_list_item.value_invalid | E9105 | 400 | invalid_request_error | The value does not match the list's item type. |
radar.value_list_item.exists | E9106 | 409 | invalid_request_error | This value is already on the list. |
radar.value_list.full | E9107 | 409 | invalid_request_error | The value list is full. Remove items before adding more. |
radar.rule.not_found | E9108 | 404 | invalid_request_error | The rule could not be found. Check the id and try again. |
radar.rule.invalid | E9109 | 400 | invalid_request_error | The rule could not be read. Fix the predicate and try again. |
radar.rule.list_unknown | E9110 | 400 | invalid_request_error | The rule names a list that does not exist. Create the list first, or use its alias. |
radar.rule.default_immutable | E9111 | 409 | invalid_request_error | A built-in rule follows the Radar settings and cannot be edited or deleted. Change the settings instead. |
radar.review.not_found | E9112 | 404 | invalid_request_error | The review could not be found. Check the id and try again. |
radar.review.closed | E9113 | 409 | invalid_request_error | This review is already closed. |
radar.early_fraud_warning.not_found | E9114 | 404 | invalid_request_error | The early fraud warning could not be found. Check the id and try again. |
radar.session.not_found | E9115 | 400 | invalid_request_error | The Radar session could not be found or has expired. Create a new session. |
radar.settings.invalid | E9116 | 400 | invalid_request_error | The Radar settings are invalid. Keep elevated_threshold at least 1 and below highest_threshold, at most 99. |
radar.failed | E9117 | 500 | api_error | Radar could not complete this request. Try again shortly. |
radar.assessment.not_found | E9118 | 404 | invalid_request_error | Radar did not assess this charge, so it has no risk insights. |
radar.no_list_has_the_alias | E9170 | 400 | invalid_request_error | No list has the alias @{alias}. |
radar.rule_parse.action_missing | E9174 | 400 | invalid_request_error | a rule starts with Allow, Block or Review (at character {position}) |
radar.rule_parse.action_unknown | E9175 | 400 | invalid_request_error | unknown action "{action}"; use Allow, Block or Review (at character {position}) |
radar.rule_parse.if_missing | E9176 | 400 | invalid_request_error | expected "if" after the action (at character {position}) |
radar.rule_parse.token_unexpected | E9177 | 400 | invalid_request_error | unexpected "{text}" (at character {position}) |
radar.rule_parse.metadata_not_closed | E9178 | 400 | invalid_request_error | metadata key is not closed with :: (at character {position}) |
radar.rule_parse.attribute_not_closed | E9179 | 400 | invalid_request_error | attribute is not closed with : (at character {position}) |
radar.rule_parse.list_name_missing | E9180 | 400 | invalid_request_error | a list reference needs a name after @ (at character {position}) |
radar.rule_parse.operator_unknown | E9181 | 400 | invalid_request_error | unknown operator "{operator}" (at character {position}) |
radar.rule_parse.number_invalid | E9182 | 400 | invalid_request_error | "{text}" is not a number (at character {position}) |
radar.rule_parse.character_unexpected | E9183 | 400 | invalid_request_error | unexpected character "{character}" (at character {position}) |
radar.rule_parse.string_not_closed | E9184 | 400 | invalid_request_error | string is not closed (at character {position}) |
radar.rule_parse.paren_missing | E9185 | 400 | invalid_request_error | expected ) (at character {position}) |
radar.rule_parse.is_missing_form | E9186 | 400 | invalid_request_error | is_missing takes ( :attribute: ) (at character {position}) |
radar.rule_parse.is_missing_argument | E9187 | 400 | invalid_request_error | is_missing takes an attribute or metadata key (at character {position}) |
radar.rule_parse.is_missing_paren | E9188 | 400 | invalid_request_error | expected ) after is_missing's argument (at character {position}) |
radar.rule_parse.comparison_missing | E9189 | 400 | invalid_request_error | expected a comparison (=, !=, <, >, <=, >=, IN, INCLUDES or LIKE) (at character {position}) |
radar.rule_parse.comparison_left | E9190 | 400 | invalid_request_error | a comparison starts with an :attribute: or ::metadata:: (at character {position}) |
radar.rule_parse.boolean_compared | E9191 | 400 | invalid_request_error | :{attribute}: is a boolean: write :{attribute}: or NOT :{attribute}: (at character {position}) |
radar.rule_parse.in_literals | E9192 | 400 | invalid_request_error | IN ( ... ) takes literal values (at character {position}) |
radar.rule_parse.in_separator | E9193 | 400 | invalid_request_error | expected , or ) in the value list (at character {position}) |
radar.rule_parse.attribute_unknown | E9194 | 400 | invalid_request_error | unknown attribute :{attribute}: (at character {position}) |
radar.rule_parse.metadata_key_empty | E9195 | 400 | invalid_request_error | metadata key is empty (at character {position}) |
radar.rule_parse.condition_incomplete | E9196 | 400 | invalid_request_error | the rule ends before its condition does (at character {position}) |
radar.rule_parse.list_operator | E9197 | 400 | invalid_request_error | a list is compared with IN, = or != (at character {position}) |
radar.rule_parse.numbers_only | E9198 | 400 | invalid_request_error | :{attribute}: is a {kind}; {operator} compares numbers only (at character {position}) |
radar.rule_parse.text_only | E9199 | 400 | invalid_request_error | :{attribute}: is a number; {operator} compares text only (at character {position}) |
radar.rule_parse.quoted_value | E9200 | 400 | invalid_request_error | :{attribute}: is a {kind}; compare it with a quoted value (at character {position}) |
radar.rule_parse.number_expected | E9201 | 400 | invalid_request_error | :{attribute}: is a number; "{value}" is not (at character {position}) |
radar.rule_parse.kinds_differ | E9202 | 400 | invalid_request_error | :{attribute}: and :{other}: are different kinds (at character {position}) |
radar.value_list_item.empty | E9203 | 400 | invalid_request_error | The value is empty. |
radar.value_list_item.too_long | E9204 | 400 | invalid_request_error | The value is longer than 800 characters. |
radar.value_list_item.card_bin | E9205 | 400 | invalid_request_error | "{value}" is not a card BIN (6 to 8 digits). |
radar.value_list_item.country | E9206 | 400 | invalid_request_error | "{value}" is not a two-letter country code. |
radar.value_list_item.email | E9207 | 400 | invalid_request_error | "{value}" is not an email address. |
radar.value_list_item.ip_address | E9208 | 400 | invalid_request_error | "{value}" is not an IP address. |
radar.value_list_item.item_type_unknown | E9209 | 400 | invalid_request_error | Unknown item type "{item_type}". |
reconciliation_import_profile
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
reconciliation_import_profile.a_csv_file_is_required | E1979 | 400 | invalid_request_error | A CSV file is required. |
reconciliation_import_profile.a_fallback_profile_for_every_connector_already | E1980 | 400 | invalid_request_error | A fallback profile for every connector already exists; edit that one instead. |
reconciliation_import_profile.an_import_profile_body_is_required | E1981 | 400 | invalid_request_error | An import profile body is required. |
reconciliation_import_profile.an_import_profile_for_already_exists_edit | E1982 | 400 | invalid_request_error | An import profile for {connector} already exists; edit that one instead. |
reconciliation_import_profile.file_has_no_header_row | E2494 | 400 | invalid_request_error | the file has no header row |
reconciliation_import_profile.file_missing_required_columns | E2495 | 400 | invalid_request_error | the file is missing required columns: {missing} |
reconciliation_import_profile.file_missing_required_column | E2496 | 400 | invalid_request_error | the file is missing a required column: {value} |
reconciliation_import_profile.file_has_more_than_rows | E2497 | 400 | invalid_request_error | the file has more than {max_rows} rows |
reconciliation_import_profile.import_profile_required | E2498 | 400 | invalid_request_error | an import profile is required |
reconciliation_import_profile.scaling_factor_between_1 | E2502 | 400 | invalid_request_error | scaling_factor must be between 1 and {max_scaling_factor} |
reconciliation_import_profile.not_transform_importer_knows_use_one | E2503 | 400 | invalid_request_error | "{transform}" is not a transform this importer knows; use one of {transforms} |
reconciliation_import_profile.has_transform_but_no_source_column | E2504 | 400 | invalid_request_error | "{field}" has a transform but no source column to apply it to |
reconciliation_import_profile.most_extra_date_layouts_are_allowed | E2505 | 400 | invalid_request_error | at most {max_date_layouts} extra date layouts are allowed |
reconciliation_import_profile.row_filter_accepts_most_values | E2506 | 400 | invalid_request_error | a row filter accepts at most {max_filter_values} values |
reconciliation_import_profile.row_filter_needs_source_column_values | E2507 | 400 | invalid_request_error | a row filter needs the source column its values are compared against |
reconciliation_import_profile.row_filter_column_most_characters | E2508 | 400 | invalid_request_error | the row filter column must be at most {max_column_length} characters |
reconciliation_import_profile.refers_which_not_field_settlement_line | E2560 | 400 | invalid_request_error | {label} refers to "{field}", which is not a field a settlement line has; use one of {canonical_fields} |
reconciliation_import_profile.most_characters | E2561 | 400 | invalid_request_error | {label} for "{field}" must be at most {max_length} characters |
reconciliation_import_profile.not_go_date_layout_write_reference | E2562 | 400 | invalid_request_error | "{layout}" is not a Go date layout; write the reference time, for example 02/01/2006 15:04:05 |
reconciliation_import_profile.import_profile_not_found | E8067 | 404 | invalid_request_error | Import profile not found. |
reconciliation_rule
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
reconciliation_rule.a_rule_body_is_required | E1984 | 400 | invalid_request_error | A rule body is required. |
reconciliation_rule.a_rule_cannot_appear_twice_in_the | E1985 | 400 | invalid_request_error | A rule cannot appear twice in the order. |
reconciliation_rule.an_ordered_list_of_rule_ids_is | E1986 | 400 | invalid_request_error | An ordered list of rule ids is required. |
reconciliation_rule.rule_required | E2509 | 400 | invalid_request_error | a rule is required |
reconciliation_rule.order_cannot_negative | E2513 | 400 | invalid_request_error | order cannot be negative |
reconciliation_rule.match_key | E2514 | 400 | invalid_request_error | match_key must be "{match_key_reference}" or "{match_key_amount}" |
reconciliation_rule.window_cannot_negative | E2515 | 400 | invalid_request_error | the window cannot be negative |
reconciliation_rule.window_most_days_wider_one_scans | E2516 | 400 | invalid_request_error | the window must be at most {max_window_days} days; a wider one scans every charge the connector ever took |
reconciliation_rule.ambiguity | E2517 | 400 | invalid_request_error | on_ambiguity must be "{on_ambiguity_skip}", "{on_ambiguity_oldest}" or "{on_ambiguity_newest}" |
reconciliation_rule.ref_source | E2563 | 400 | invalid_request_error | ref_source must be "{ref_source_connector_charge_ref}" or "{ref_source_external_ref}" |
reconciliation_rule.rule_needs_text_look | E2564 | 400 | invalid_request_error | a "{ref_operator}" rule needs the text to look for |
reconciliation_rule.ref_operator | E2565 | 400 | invalid_request_error | ref_operator must be "{ref_operator_equals}", "{ref_operator_contains}" or "{ref_operator_not_contains}" |
reconciliation_rule.text_look_most_characters | E2566 | 400 | invalid_request_error | the text to look for must be at most {max_ref_param_length} characters |
reconciliation_rule.reference_rule_needs_least_one_charge | E2567 | 400 | invalid_request_error | a reference rule needs at least one charge field to compare against |
reconciliation_rule.not_charge_field_settlement_reference_can | E2568 | 400 | invalid_request_error | "{value}" is not a charge field a settlement reference can match |
reconciliation_rule.amount_rule_s_amount_operator | E2569 | 400 | invalid_request_error | an amount rule's amount_operator must be "{amount_operator_equal}" or "{amount_operator_tolerance}" |
reconciliation_rule.amount_rule_cannot_allow_cross_merchant | E2570 | 400 | invalid_request_error | an amount rule cannot allow cross-merchant matching: one merchant's settlement line would consume another merchant's charge and the release gate would credit the wrong balance |
reconciliation_rule.tolerance_needs_amount_operator | E2571 | 400 | invalid_request_error | a tolerance needs amount_operator "{amount_operator_tolerance}" |
reconciliation_rule.amount_operator | E2572 | 400 | invalid_request_error | amount_operator must be "{amount_operator_equal}", "{amount_operator_tolerance}" or "{amount_operator_any}" |
reconciliation_rule.fee_mode | E2573 | 400 | invalid_request_error | fee_mode must be "{fee_ignore}" or "{fee_add_back}" |
reconciliation_rule.currency_mode | E2574 | 400 | invalid_request_error | currency_mode must be "{currency_same}" or "{currency_convert}" |
reconciliation_rule.tolerance_more_than_zero | E2575 | 400 | invalid_request_error | a tolerance must be more than zero |
reconciliation_rule.percent_tolerance_most_100 | E2576 | 400 | invalid_request_error | a percent tolerance must be at most 100% |
reconciliation_rule.percent_tolerance_takes_no_currency | E2577 | 400 | invalid_request_error | a percent tolerance takes no currency |
reconciliation_rule.fixed_tolerance_needs_currency_amount | E2578 | 400 | invalid_request_error | a fixed tolerance needs the currency its amount is in |
reconciliation_rule.amount_tolerance_unit | E2579 | 400 | invalid_request_error | amount_tolerance_unit must be "{tolerance_unit_percent}" or "{tolerance_unit_fixed}" |
reconciliation_rule.reconciliation_rule_not_found | E8068 | 404 | invalid_request_error | Reconciliation rule not found. |
refund
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
refund.a_refund_cannot_be_created_in_status | E1988 | 400 | invalid_request_error | a refund cannot be created in status "{status}" |
refund.cannot_apply_a_connector_refund_outcome_without | E1990 | 400 | invalid_request_error | Cannot apply a connector refund outcome without the connector's refund id. |
refund.cannot_cancel_refund_does_not_support_canceling | E1991 | 400 | invalid_request_error | Cannot cancel refund "{id}": {connector} does not support canceling a refund. |
refund.cannot_process_refund_refund_amount_is_required | E1992 | 400 | invalid_request_error | Cannot process refund: refund amount is required. |
refund.chargeid_is_required | E1993 | 400 | invalid_request_error | chargeID is required |
refund.crypto_destination_address_applies_only_to | E1994 | 400 | invalid_request_error | crypto[destination_address] applies only to refunds of crypto payments. |
refund.refund_amount_must_be_greater_than_0 | E1995 | 400 | invalid_request_error | refund amount must be greater than 0 |
refund.send_exactly_one_of_charge_and_payment | E1996 | 400 | invalid_request_error | Send exactly one of charge and payment_intent. |
refund.send_exactly_one_of_charge_id_charge | E1997 | 400 | invalid_request_error | Send exactly one of charge_id, charge or payment_intent. |
refund.cannot_cancel_refund_only_a_refund_in | E4237 | 409 | invalid_request_error | Cannot cancel refund "{id}": only a refund in requires_action can be canceled, and this one is {status}. |
refund.cannot_refund_charge | E4238 | 409 | invalid_request_error | Cannot refund charge "{id}": {reason} |
refund.cannot_refund_charge_crypto_refunds_are_not | E4239 | 409 | invalid_request_error | Cannot refund charge "{id}": crypto refunds are not available right now. |
refund.cannot_refund_charge_dispute_is_still_open | E4240 | 409 | invalid_request_error | Cannot refund charge "{id}": dispute "{dispute_id}" is still open (status="{dispute_status}"). Wait for the dispute to close before refunding. |
refund.cannot_refund_charge_it_has_already_been | E4241 | 409 | invalid_request_error | Cannot refund charge "{id}": it has already been fully refunded. |
refund.cannot_refund_charge_it_has_not_been | E4242 | 409 | invalid_request_error | Cannot refund charge "{id}": it has not been captured. Capture the charge first, then issue a refund. |
refund.cannot_refund_charge_its_cross_currency | E4243 | 409 | invalid_request_error | Cannot refund charge "{id}": its cross-currency settlement has no forex quote, so the original rate cannot be reversed. |
refund.cannot_refund_charge_no_refund_adapter_is | E4244 | 409 | invalid_request_error | Cannot refund charge "{id}": no refund adapter is registered for connector "{connector_id}". Refund the customer outside Paycose. |
refund.cannot_refund_charge_settlement_status_reason | E4245 | 409 | invalid_request_error | Cannot refund charge "{id}": settlement_status="{settlement_status}" (reason="{settlement_reason}"). The wallet was not credited; nothing to refund. |
refund.cannot_refund_charge_the_refund_amount_exceeds | E4246 | 400 | invalid_request_error | Cannot refund charge "{id}": the refund amount {requested} exceeds the {remaining} left to refund on the charge. |
refund.cannot_refund_charge_the_refund_amount_exceeds_2 | E4247 | 400 | invalid_request_error | Cannot refund charge "{id}": the refund amount {amount} exceeds the {amount_paid} still paid on invoice "{id_2}". |
refund.cannot_refund_charge_yet_its_cross_currency | E4248 | 409 | invalid_request_error | Cannot refund charge "{id}" yet: its cross-currency settlement has not completed (settlement_reason="{settlement_reason}"). Try again once the merchant credit is posted. |
refund.cannot_refund_payment_intent_it_has_no | E4249 | 409 | invalid_request_error | Cannot refund payment intent "{payment_intent_id}": it has no captured charge to refund. |
refund.cannot_refund_the_application_fee_of_charge | E4250 | 400 | invalid_request_error | Cannot refund the application fee of charge "{id}" with reverse_transfer=false: the fee cannot go back to a connected account whose transfer is not reversed. Omit reverse_transfer or send refund_application_fee=false. |
refund.cannot_reverse_a_transfer_for_charge_it | E4251 | 400 | invalid_request_error | Cannot reverse a transfer for charge "{id}": it has no connected account to reverse from. Omit reverse_transfer. |
refund.cannot_settle_refund_yet_charge_is_still | E4252 | 409 | invalid_request_error | Cannot settle refund "{id}" yet: charge "{id_2}" is still waiting for its cross-currency settlement to complete (settlement_reason="{settlement_reason}"). It will be retried once the merchant credit is posted. |
refund.no_charge_was_found_for_reference_id | E4253 | 404 | invalid_request_error | No charge was found for reference_id "{charge_reference_id}". |
refund.refund_changed_while_it_was_being_posted | E4254 | 409 | invalid_request_error | Refund "{id}" changed while it was being posted; the settle will be retried. |
refund.refund_changed_while_it_was_being_updated | E4255 | 409 | invalid_request_error | Refund "{id}" changed while it was being updated. Retry. |
refund.refund_is_not_in_pending_status | E4256 | 409 | invalid_request_error | refund is not in pending status |
refund.refund_to_wallet_was_removed_a_refund | E4257 | 400 | invalid_request_error | Refund to wallet was removed. A refund always goes back to the original payment method: omit destination or send destination="source". |
refund.this_idempotency_key_already_opened_refund_for | E4258 | 400 | invalid_request_error | This idempotency key already opened refund "{id}" for charge "{charge_id}" with amount {amount}, refund_application_fee={refund_application_fee} and reverse_transfer={reverse_transfer}. Use a new key for a different refund. |
refund.not_found | E4500 | 404 | invalid_request_error | The requested refund could not be found. Check the id and try again. |
refund.create.failed | E4501 | 500 | api_error | The refund could not be created. Verify the request body and try again. |
refund.approve.failed | E4502 | 500 | api_error | The refund could not be posted. Try again shortly. |
refund.reject.failed | E4503 | 500 | api_error | The refund could not be rejected. Verify its state, then retry. |
refund.cancel.failed | E4504 | 500 | api_error | The refund could not be canceled. Check its current status, then retry. |
refund.update.failed | E4505 | 500 | api_error | The refund could not be updated. Verify the request and try again. |
refund.retrieve.failed | E4506 | 500 | api_error | We couldn't load this refund. Check the id and try again. |
refund.list.failed | E4507 | 500 | api_error | We couldn't load the list of refunds. Try again shortly. |
refund.finite_state | E4508 | 409 | invalid_request_error | Refund cannot be modified in its current state |
refund.already.approved | E4509 | 409 | invalid_request_error | This refund has already been approved. No further approval is needed. |
refund.already.rejected | E4510 | 409 | invalid_request_error | This refund has already been rejected. No further action is needed. |
refund.already.canceled | E4511 | 409 | invalid_request_error | This refund has already been canceled. No further action is needed. |
refund.charge.not_captured | E4512 | 409 | invalid_request_error | This charge has not been captured — only captured charges can be refunded. |
refund.fully_refunded | E4513 | 409 | invalid_request_error | This charge has already been fully refunded. |
refund.amount.exceeds | E4514 | 400 | invalid_request_error | The refund amount exceeds the remaining refundable amount on the charge. |
refund.destination.invalid | E4515 | 400 | invalid_request_error | Refund to wallet was removed. A refund always goes back to the original payment method. |
refund.stats.failed | E4516 | 500 | api_error | We couldn't compute refund statistics right now. Try again shortly. |
refund.charge.not_settled | E4525 | 409 | invalid_request_error | This charge has not been settled — the wallet was not credited yet, so it cannot be refunded. |
refund.connector.unsupported | E4526 | 409 | invalid_request_error | This payment method can't be refunded through Paycose. Refund the customer outside Paycose. |
refund.partial.before_settlement | E4527 | 409 | invalid_request_error | This charge has not settled yet, and the bank cannot partially reverse an unsettled charge. Refund the full amount now, or wait until after settlement to refund part of it. |
refund.charge.disputed | E4528 | 409 | invalid_request_error | This charge has an open dispute. Wait for the dispute to close before refunding it. |
refund.idempotency_mismatch | E4529 | 400 | invalid_request_error | This idempotency key was already used to refund a different charge or amount. Use a new key for a new refund. |
refund.application_fee.requires_reverse_transfer | E4913 | 400 | invalid_request_error | The application fee cannot go back to a connected account whose transfer is not reversed. |
refund.reverse_transfer.unavailable | E4914 | 400 | invalid_request_error | This charge has no transfer to reverse. |
resource_notification
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
resource_notification.resource_notification_resource_type_resource_id | E1998 | 400 | invalid_request_error | resource_notification: resource_type, resource_id and event_type required |
db
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
db.error | E2000 | 500 | api_error | An unexpected database error occurred. Try again shortly, or contact support if the issue persists. |
db.record_not_found | E2001 | 404 | invalid_request_error | The requested record was not found in the database. |
db.duplicate | E2002 | 409 | invalid_request_error | A record with this identifier already exists. Use a unique value and try again. |
db.constraint | E2003 | 409 | invalid_request_error | The operation violates a database constraint. Check for duplicate keys or foreign-key mismatches. |
db.timeout | E2004 | 504 | api_error | The database operation timed out. Try again shortly, or contact support if the issue persists. |
db.transaction_failed | E2005 | 500 | api_error | The database transaction failed and was rolled back. Try again; if the issue persists, contact support. |
db.view.create.failed | E8811 | 500 | api_error | The database view could not be created. Verify the request body and try again. |
cache
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
cache.error | E2100 | 500 | api_error | A cache operation failed. The system will fall back to the database; try again shortly. |
broker
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
broker.error | E2200 | 500 | api_error | The message broker is unavailable or returned an error. Try again shortly. |
storage
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
storage.error | E2300 | 500 | api_error | An object storage error occurred. Try again shortly, or contact support if the issue persists. |
storage.object_not_found | E2301 | 404 | invalid_request_error | The requested file was not found in object storage. Check the file ID and try again. |
storage.read.failed | E2302 | 500 | api_error | We couldn't read the file from storage. Try again shortly, or contact support if the issue persists. |
storage.write.failed | E2303 | 500 | api_error | We couldn't write file. Try again shortly, or contact support if the issue persists. |
upstream
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
upstream.error | E2400 | 502 | api_error | An upstream service returned an error. Check the service status and try again shortly. |
upstream.timeout | E2401 | 504 | api_error | The upstream service did not respond in time. Try again shortly, or check the service status. |
upstream.unavailable | E2402 | 503 | api_error | The upstream service is currently unavailable. Check the service status and retry when it recovers. |
meter_event
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
meter_event.a_meter_event_with_identifier_already_exists | E2442 | 409 | invalid_request_error | A meter event with identifier "{identifier}" already exists for this application. |
meter_event.not_found | E5550 | 404 | invalid_request_error | The requested meter event could not be found. Check the id and try again. |
meter_event.create.failed | E5551 | 500 | api_error | The meter event could not be created. Verify the request body and try again. |
meter_event.list.failed | E5552 | 500 | api_error | We couldn't load the list of meter events. Try again shortly. |
meter_event.invalid | E5553 | 400 | invalid_request_error | The meter event is not valid. Check the named parameter and try again. |
meter_event.duplicate_identifier | E5554 | 400 | invalid_request_error | A meter event with this identifier was already recorded in the last 24 hours. |
webhook_event
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
webhook_event.webhook_event_not_found_for_job | E2465 | 404 | invalid_request_error | webhook event not found for job {job_id} |
verification
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
verification.business_type.required | E3115 | 422 | invalid_request_error | Choose whether this account is for an individual or a business before starting verification. |
verification.business_type.invalid | E3116 | 422 | invalid_request_error | Business type must be individual or company, and a structure must be one of the listed company structures. |
verification.role.invalid | E3117 | 422 | invalid_request_error | This business type does not need a verification for that role. |
verification.locked | E3118 | 409 | invalid_request_error | The business type cannot change while a verification is in review or approved. Contact support to change it. |
verification.session.not_startable | E3119 | 409 | invalid_request_error | This verification is already in review or approved, so a new session cannot be started. |
verification.provider.unavailable | E3121 | 503 | api_error | Identity verification is not available right now. Try again later. |
verification.check.not_found | E3122 | 404 | invalid_request_error | The verification check was not found for this application. |
verification.webhook.signature_invalid | E3123 | 401 | authentication_error | The verification webhook signature is missing or invalid. |
verification.provider.unknown | E3124 | 404 | invalid_request_error | No identity-verification provider is registered under that name. |
verification.session.failed | E3125 | 502 | api_error | The identity-verification connector could not start a session. Try again shortly. |
verification.provider.not_allowed | E3126 | 409 | invalid_request_error | This identity-verification provider cannot be used on a production deployment. |
verification.settings.incomplete | E3127 | 400 | invalid_request_error | Fill in every required setting for this identity-verification connector. |
verification.submission.unsupported | E3128 | 409 | invalid_request_error | This verification is finished on the verification partner's page, not with a form. |
verification.session.expired | E3129 | 409 | invalid_request_error | This verification session has expired. Start the verification again. |
verification.document.invalid | E3130 | 400 | invalid_request_error | {document} must be a file you uploaded for verification. |
verification.field.invalid | E3131 | 400 | invalid_request_error | {field} is missing or not valid for this verification. |
verification.submission.not_found | E3132 | 404 | invalid_request_error | No form has been sent for this verification check yet. |
mfa
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
mfa.invalid | E3240 | 400 | invalid_request_error | The multi-factor authentication method is not valid. Verify the method and try again. |
mfa.unsupported | E3241 | 400 | invalid_request_error | The requested multi-factor authentication method is not supported. Choose a supported method. |
mfa.enable.failed | E3242 | 500 | api_error | We couldn't enable multi-factor. Try again shortly, or contact support if the issue persists. |
mfa.disable.failed | E3243 | 500 | api_error | We couldn't disable multi-factor. Try again shortly, or contact support if the issue persists. |
mfa.verify.failed | E3244 | 500 | api_error | The multi-factor could not be verified. Double-check the details and try again. |
mfa.backup.invalid | E3245 | 400 | invalid_request_error | The multi-factor backup code is invalid. Check the code and try again. |
mfa.challenge.failed | E3246 | 500 | api_error | We couldn't issue multi-factor challenge. Try again shortly, or contact support if the issue persists. |
mfa.already_enabled | E3247 | 409 | invalid_request_error | Multi-factor authentication is already enabled on this account. |
mfa.confirm.invalid_state | E3248 | 409 | invalid_request_error | Account is not in state to confirm multi-factor |
mfa.disable.invalid_state | E3249 | 409 | invalid_request_error | Account is not in state to disable multi-factor |
mfa.primary_email.not_found | E3250 | 404 | invalid_request_error | Primary email multi-factor method not found |
mfa.ownership.mismatch | E3251 | 403 | permission_error | Multi-factor method does not belong to user |
mfa.primary.update.failed | E3252 | 400 | invalid_request_error | The primary multi-factor method directly could not be updated. Verify the request and try again. |
mfa.force_delete.verified | E3253 | 400 | invalid_request_error | Cannot force-delete verified multi-factor |
mfa.verification.required | E3254 | 403 | permission_error | Multi-factor verification is required to proceed. Complete the MFA challenge and retry. |
mfa.retrieve.failed | E3255 | 500 | api_error | We couldn't load this multi-factor challenge. Check the id and try again. |
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
email.send.failed | E3261 | 500 | api_error | We couldn't send email. Try again shortly, or contact support if the issue persists. |
admin_account
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
admin_account.not_found | E3280 | 404 | invalid_request_error | The admin account was not found. Check the id and try again. |
admin_account.email.exists | E3281 | 409 | invalid_request_error | An admin with this email already exists. |
admin_account.role.invalid | E3282 | 400 | invalid_request_error | Role must be one of owner, admin, finance, support or viewer. |
admin_account.email.invalid | E3283 | 400 | invalid_request_error | Enter a valid email address. |
admin_account.self_action | E3284 | 403 | permission_error | You can't change your own role or disable or delete your own account. Ask another Owner. |
admin_account.last_owner | E3285 | 409 | invalid_request_error | This is the last active Owner. Make another admin an Owner first. |
admin_account.identity.failed | E3286 | 502 | api_error | The admin sign-in service did not accept the change. Try again shortly. |
admin_account.create.failed | E3287 | 500 | api_error | The admin account could not be created. Try again shortly. |
admin_account.update.failed | E3288 | 500 | api_error | The admin account could not be updated. Try again shortly. |
admin_account.list.failed | E3289 | 500 | api_error | We couldn't load the admin accounts. Try again shortly. |
credential
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
credential.create.failed | E3400 | 500 | api_error | The credential could not be created. Verify the request body and try again. |
credential.update.failed | E3401 | 500 | api_error | The credential could not be updated. Verify the request and try again. |
credential.delete.failed | E3402 | 500 | api_error | The credential could not be deleted. Try again shortly, or contact support if the issue persists. |
credential.retrieve.failed | E3403 | 500 | api_error | We couldn't load this credential. Check the id and try again. |
credential.list.failed | E3404 | 500 | api_error | We couldn't load the list of credentials. Try again shortly. |
credential.not_configured_for_mode | E3405 | 422 | invalid_request_error | No connector credentials are configured for this mode. Add the credentials for this connector and mode, then try again. |
credential.rejected_by_connector | E3406 | 422 | invalid_request_error | The payment connector rejected these API credentials. They may have been revoked or rotated. Update the credentials for this connector and mode, then try again. |
credential.no_credentials_configured_for_mode | E3566 | 422 | invalid_request_error | No {connector_name} credentials configured for {mode} mode |
credential.no_platform_credentials_configured_for_mode | E3567 | 422 | invalid_request_error | No {connector_name} platform credentials configured for {mode} mode |
gateway_admin
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
gateway_admin.invalid_request | E3440 | 400 | invalid_request_error | The gateway rejected this request. Check the fields and try again. |
gateway_admin.not_found | E3441 | 404 | invalid_request_error | The gateway has no record with this id. Check the id and try again. |
gateway_admin.conflict | E3442 | 409 | invalid_request_error | The gateway refused this change because it conflicts with the current state. Refresh and try again. |
gateway_admin.unavailable | E3443 | 502 | api_error | The gateway management API could not be reached or refused the wallet's credentials. Check the gateway service and its management key, then try again. |
gateway_admin.service_unavailable | E3444 | 503 | api_error | The gateway cannot run this right now. Try again shortly. |
gateway
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
gateway.credential_rejected | E3445 | 502 | api_error | The gateway refused this country's credential, so reference data and connectors can't be reached. An administrator can re-issue the credential. |
system_credential
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
system_credential.resolve_failed | E3450 | 500 | api_error | We couldn't resolve the central gateway credential for this request. Try again shortly; if this persists, an administrator can rotate the platform system credential via the wallet internal ops endpoint. |
system_credential.list_failed | E3451 | 500 | api_error | We couldn't load the central credentials. Try again shortly. |
system_credential.rotate_failed | E3452 | 500 | api_error | The central credential could not be rotated. Verify the gateway is reachable and try again. |
system_credential.recreate_failed | E3453 | 500 | api_error | The central credential could not be recreated. Try again shortly. |
system_credential.bootstrap_failed | E3454 | 500 | api_error | The central credential pair could not be bootstrapped. Verify the gateway is reachable and management key is set. |
system_credential.invalid_mode | E3455 | 400 | invalid_request_error | Invalid mode — must be `live` or `test`. |
system_credential.webhook_not_found | E3456 | 404 | invalid_request_error | This connector has no central webhook subscription yet. Complete the credential setup flow's webhook step first. |
connector_routing
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
connector_routing.connector_disabled | E3460 | 422 | invalid_request_error | This connector is not enabled in the app/country's connector routing. Enable it in the dashboard, or use a method assigned to a different connector. |
connector_routing.connector_not_configured | E3462 | 409 | invalid_request_error | This connector has no credentials connected for this mode. Connect its API keys first, then route the payment method to it. |
connector_keys
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
connector_keys.live_mode_only | E3463 | 409 | invalid_request_error | Payment connector keys are saved in live mode only: test mode runs on the Paycose simulator and needs no keys. Switch to live mode to connect this connector. |
payment_route_binding
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
payment_route_binding.missing | E3477 | 409 | invalid_request_error | This payment has no recorded route, so we cannot tell which connector account it was created for. Start a new checkout. |
payment_route_binding.method_not_bound | E3478 | 409 | invalid_request_error | The selected payment method was not offered when this payment was created. Choose one of the original methods, or start a new checkout. |
connector
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
connector.rate_limited | E3479 | 429 | rate_limit_error | The payment connector is receiving too many requests right now. Retry in a few seconds. |
invitation
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
invitation.invalid | E3500 | 400 | invalid_request_error | The invitation token is invalid or has expired. Request a new invitation and try again. |
invitation.destroy.failed | E3501 | 500 | api_error | We couldn't destroy invitation token. Try again shortly, or contact support if the issue persists. |
invitation.email.failed | E3504 | 502 | api_error | The invitation token was created but the email could not be delivered. The invitation link is still valid — share it manually, or retry the invite once the email gateway is reachable. |
invitation.not_found | E3530 | 404 | invalid_request_error | The requested invitation could not be found. Check the invitation id and confirm the link has not been revoked. |
invitation.link.not_found | E3531 | 404 | invalid_request_error | The invitation link could not be found. The link may have expired or been revoked — request a new invitation. |
card_token
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
card_token.generate.failed | E3521 | 500 | api_error | card token could not be generated. Try again shortly. |
card_token.retrieve.failed | E3522 | 500 | api_error | We couldn't load this card token. Check the id and try again. |
public_key
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
public_key.retrieve.failed | E3523 | 500 | api_error | We couldn't load this public key. Check the id and try again. |
wise
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
wise.no_wise_webhook_public_key_is_configured | E3580 | 422 | invalid_request_error | No Wise webhook public key is configured for {mode} mode. Add the webhook_public_key Wise publishes for this environment to the connector credential, then replay the event. |
kbank
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
kbank.kbank_cards_cannot_be_charged_server_side | E4029 | 400 | invalid_request_error | KBank cards cannot be charged server-side: the card is captured by KBank's embedded form, which needs the payer at the screen. Create a checkout session and send the payer to its URL. |
kbank.kbank_has_not_settled_this_charge_yet | E4030 | 409 | invalid_request_error | KBank has not settled this charge yet (transaction_state={transaction_state}), and an unsettled charge can only be reversed in full. Refund the whole amount now, or wait until after settlement to refund part of it. |
kbank.kbank_reports_this_charge_was_already_voided | E4031 | 409 | invalid_request_error | KBank reports this charge was already voided, so there is nothing left to refund. |
kma
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
kma.krungsri_kma_charges_only_support_automatic | E4036 | 400 | invalid_request_error | Krungsri (KMA) charges only support automatic capture: the bank-app deeplink settles immediately. Submit capture_method="automatic" and retry. |
kplus
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
kplus.k_plus_charges_only_support_automatic_capture | E4039 | 400 | invalid_request_error | K PLUS charges only support automatic capture: the bank-app deeplink settles immediately. Submit capture_method="automatic" and retry. |
card_face
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
card_face.not_found | E4174 | 404 | invalid_request_error | The requested card face could not be found. Check the id and try again. |
card_face.bin_prefix.invalid | E4175 | 400 | invalid_request_error | Each BIN prefix must be 6 to 8 digits. |
card_face.connector.not_installment | E4176 | 400 | invalid_request_error | A card face must be mounted on a connector that offers installments. |
card_face.in_use | E4177 | 409 | invalid_request_error | An installment plan still names this card. Remove the card from those plans first. |
scb
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
scb.cannot_create_charge_customer_id_is_required | E4259 | 400 | invalid_request_error | Cannot create {method} charge: customer_id is required. |
scb.cannot_create_charge_scb_settles_this_rail | E4260 | 400 | invalid_request_error | Cannot create {method} charge: SCB settles this rail in THB only. |
scb.cannot_create_direct_debit_charge_customer_id | E4261 | 400 | invalid_request_error | Cannot create direct debit charge: customer_id is required. |
scb.cannot_create_direct_debit_charge_scb_settles | E4262 | 400 | invalid_request_error | Cannot create direct debit charge: SCB settles this rail in THB only. |
scb.charges_only_support_automatic_capture_submit | E4264 | 400 | invalid_request_error | {method} charges only support automatic capture. Submit capture_method="automatic" and retry. |
scb.direct_debit_charges_only_support_automatic | E4265 | 400 | invalid_request_error | Direct debit charges only support automatic capture. Submit capture_method="automatic" and retry. |
scb.the_direct_debit_mandate_is_no_longer | E4267 | 402 | card_error | The direct debit mandate is no longer active. Ask the payer to register again. |
scb.the_direct_debit_mandate_s_per_transaction | E4268 | 402 | card_error | The direct debit mandate's per-transaction limit is lower than this amount. |
scb.cannot_create_direct_debit_charge_a_registered | E6534 | 404 | invalid_request_error | Cannot create direct debit charge: a registered SCB direct debit mandate is required. Create one via a setup intent first. |
scb_easy
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
scb_easy.scb_easy_charges_only_support_automatic_capture | E4271 | 400 | invalid_request_error | SCB EASY charges only support automatic capture: the bank-app deeplink settles immediately. Submit capture_method="automatic" and retry. |
slip
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
slip.not_found | E4350 | 404 | invalid_request_error | No transfer slip with this id was found. |
slip.not_reviewable | E4351 | 409 | invalid_request_error | This slip was already decided. Refresh to see its current status. |
slip.already_used | E4352 | 409 | invalid_request_error | This transfer slip was already accepted for another payment. A slip can prove only one transfer. |
slip.file_required | E4353 | 400 | invalid_request_error | Upload the transfer slip (JPG, PNG, WebP or PDF) and send its file id. |
transfer
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
transfer.not_found | E4400 | 404 | invalid_request_error | The requested transfer could not be found. Check the id and try again. |
quote
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
quote.not_found | E4600 | 404 | invalid_request_error | The requested quote could not be found. Check the id and try again. |
quote.create.failed | E4601 | 500 | api_error | The quote could not be created. Verify the request body and try again. |
quote.finalize.failed | E4602 | 500 | api_error | The quote could not be finalized. Verify it is still in the draft state, then retry. |
quote.accept.failed | E4603 | 500 | api_error | The quote could not be accepted. Verify it is still open, then retry. |
quote.cancel.failed | E4604 | 500 | api_error | The quote could not be canceled. Check its current status, then retry. |
quote.retrieve.failed | E4605 | 500 | api_error | We couldn't load this quote. Check the id and try again. |
quote.list.failed | E4606 | 500 | api_error | We couldn't load the list of quotes. Try again shortly. |
quote.finite_state | E4607 | 409 | invalid_request_error | Quote cannot be modified in its current state |
quote.update.failed | E4608 | 500 | api_error | The quote could not be updated. Verify the request body and try again. |
receipt
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
receipt.not_found | E4800 | 404 | invalid_request_error | The requested receipt could not be found. Check the id and try again. |
receipt.retrieve.failed | E4801 | 500 | api_error | We couldn't load this receipt. Check the id and try again. |
crypto
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
crypto.custody.unavailable | E4867 | 409 | invalid_request_error | Crypto deposit addresses are not available for this account yet. |
crypto.network.unsupported | E4868 | 400 | invalid_request_error | This network is not supported for crypto deposits. Check the supported networks and try again. |
crypto.deposit_address.not_found | E4869 | 404 | invalid_request_error | The crypto deposit address could not be found. Check the id and try again. |
crypto.keystore.failed | E4870 | 502 | api_error | We couldn't create a crypto deposit address right now. Try again shortly. |
crypto.transaction.not_found | E4871 | 404 | invalid_request_error | No USDC transfer to one of your deposit addresses was found in this transaction. Check the network and transaction hash. |
crypto.transaction.amount_mismatch | E4872 | 400 | invalid_request_error | The amount does not match the USDC this transaction sent to your deposit addresses. |
crypto.currency.unsupported | E4873 | 400 | invalid_request_error | Record a crypto payment in the coin itself (usdc, usdt, eth…) or in the currency a stablecoin tracks (usd for usdc and usdt). |
crypto.transaction.held | E4874 | 409 | invalid_request_error | This transfer is held for review and cannot be recorded as a payment. |
crypto.transaction.invalid | E4875 | 400 | invalid_request_error | transaction_hash must be a 0x-prefixed 32-byte hex string. |
crypto.refund.destination_required | E4876 | 400 | invalid_request_error | This crypto payment can't be refunded to the address that sent it. Pass crypto[destination_address] with the address to refund. |
crypto.address.invalid | E4877 | 400 | invalid_request_error | The address must be a 0x-prefixed 20-byte hex address. |
crypto.payout_destination.pending | E4878 | 409 | invalid_request_error | This payout address is still in its waiting period after being added. Pay out to it once it is active. |
crypto.payout_destination.not_found | E4879 | 404 | invalid_request_error | The crypto payout address could not be found. Check the id and try again. |
crypto.deposit.not_found | E4880 | 404 | invalid_request_error | The crypto deposit could not be found. Check the id and try again. |
crypto.payouts.paused | E4881 | 409 | invalid_request_error | Crypto payouts are paused while Paycose checks its on-chain reserves. Try again later. |
crypto.payout_destination.duplicate | E4882 | 409 | invalid_request_error | This address is already one of your crypto payout addresses on this network. |
crypto.checkout.currency_unsupported | E4883 | 422 | invalid_request_error | Paying in crypto isn't available for this currency right now. Choose another payment method. |
crypto.account.not_connected | E4884 | 400 | invalid_request_error | This account isn't one of your connected accounts. Check the account id. |
crypto.asset.unsupported | E4885 | 422 | invalid_request_error | This coin isn't accepted on this network. Choose another coin or network. |
crypto.price.unavailable | E4886 | 503 | api_error | The price of this coin isn't available right now. Try again shortly or choose another coin. |
crypto.connect_terms_are_not_available_for_crypto | E4989 | 400 | invalid_request_error | Connect terms are not available for crypto records. |
x402
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
x402.factory.exists | E4887 | 409 | invalid_request_error | This network already has a fee splitter contract, or one is being deployed. |
x402.factory.missing | E4888 | 409 | invalid_request_error | This network has no active fee splitter contract yet. Deploy one first. |
x402.fee_collection.invalid | E4889 | 400 | invalid_request_error | fee_collection must be credit or onchain. |
x402.fee_schedule.range | E4890 | 400 | invalid_request_error | fee_bps must be from 0 to 1000 and network_fee from 0 to 100000. |
x402.owner.no_gas | E4891 | 409 | invalid_request_error | The contract owner address has too little gas for this. Send it some of the network's coin and try again. |
x402.network.closed | E4892 | 422 | invalid_request_error | x402 isn't available on this network in this mode. |
x402.keystore.unavailable | E4893 | 503 | api_error | Paycose couldn't sign this right now. Try again shortly. |
x402.mode.invalid | E4894 | 400 | invalid_request_error | mode must be live or test. |
x402.pay_to.not_registered | E4895 | 422 | invalid_request_error | This address isn't one of your active crypto payout addresses on this network. Add it under Payouts, wait until it's active, then try again. |
transfer_data
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
transfer_data.amount.invalid | E4908 | 400 | invalid_request_error | transfer_data.amount must be above 0 and at most the payment amount. |
transfer_data.destination.invalid | E4909 | 400 | invalid_request_error | The destination must be an active connected account of this merchant. |
transfer_data.destination.immutable | E4911 | 400 | invalid_request_error | The destination cannot change once set. |
transfer_group
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
transfer_group.immutable | E4912 | 400 | invalid_request_error | transfer_group can only be set once. |
on_behalf_of
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
on_behalf_of.invalid | E4923 | 400 | invalid_request_error | on_behalf_of must be the connected account set as transfer_data.destination. |
default_fees
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
default_fees.removed | E4924 | 400 | invalid_request_error | Fees are no longer billed to the customer. |
connect
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
connect.set_on_target | E4926 | 400 | invalid_request_error | Set Connect terms on the invoice or payment intent this wraps. |
connect.terms.immutable | E4928 | 409 | invalid_request_error | Connect terms can't change once the document is finalized or captured. |
connected_settlement
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
connected_settlement.owed_exceeded | E4932 | 409 | invalid_request_error | The settlement is more than you owe this connected account; pass allow_overpay to record it anyway. |
connected_settlement.disabled | E4933 | 409 | invalid_request_error | Settlements are not enabled for connected accounts yet. |
connected_settlement.not_found | E4934 | 404 | invalid_request_error | The settlement could not be found. Check the id and try again. |
connected_settlement.bank_account.invalid | E4935 | 400 | invalid_request_error | The bank account does not belong to this connected account. Pick one of its bank accounts, or leave bank_account empty. |
connected_settlement.receipt_file.invalid | E4936 | 400 | invalid_request_error | The receipt file must be a payout_slip upload in this mode: a JPEG, PNG, WebP or PDF of at most 3 MB. |
connected_settlement.payout_linked | E4937 | 409 | invalid_request_error | A payout recorded this settlement; cancel the payout instead, and the settlement is cancelled with it. |
bankcard
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
bankcard.cannot_create_card_charge_customer_id_is | E4951 | 400 | invalid_request_error | Cannot create card charge: customer_id is required. |
scheduler
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
scheduler.not_found | E5150 | 404 | invalid_request_error | The requested scheduler could not be found. Check the id and try again. |
scheduler.retrieve.failed | E5151 | 500 | api_error | We couldn't load this scheduler. Check the id and try again. |
scheduler.finite_state | E5152 | 409 | invalid_request_error | This scheduler is already in a final state and cannot be modified. |
scheduler.create.failed | E5153 | 500 | api_error | The scheduler could not be created. Verify the request body and try again. |
scheduler.update.failed | E5154 | 500 | api_error | The scheduler could not be updated. Verify the request and try again. |
scheduler.delete.failed | E5155 | 500 | api_error | The scheduler could not be deleted. Try again shortly, or contact support if the issue persists. |
scheduler.list.failed | E5156 | 500 | api_error | We couldn't load the list of schedulers. Try again shortly. |
product
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
product.not_found | E5200 | 404 | invalid_request_error | The requested product could not be found. Check the id and try again. |
product.create.failed | E5201 | 500 | api_error | The product could not be created. Verify the request body and try again. |
product.update.failed | E5202 | 500 | api_error | The product could not be updated. Verify the request and try again. |
product.retrieve.failed | E5203 | 500 | api_error | We couldn't load this product. Check the id and try again. |
product.delete.failed | E5226 | 500 | api_error | The product could not be deleted. Try again shortly, or contact support if the issue persists. |
product.list.failed | E5227 | 500 | api_error | We couldn't load the list of products. Try again shortly. |
product.in_use | E5228 | 409 | invalid_request_error | This product still has prices attached and cannot be deleted. Delete its prices first. |
promotion
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
promotion.not_found | E5350 | 404 | invalid_request_error | The requested promotion code could not be found. Check the id and try again. |
promotion.create.failed | E5351 | 500 | api_error | The promotion code could not be created. Verify the request body and try again. |
promotion.update.failed | E5352 | 500 | api_error | The promotion code could not be updated. Verify the request and try again. |
promotion.retrieve.failed | E5353 | 500 | api_error | We couldn't load this promotion code. Check the id and try again. |
promotion.delete.failed | E5354 | 500 | api_error | The promotion code could not be deleted. |
promotion.code.already_exists | E5355 | 400 | invalid_request_error | A promotion code with this code already exists. Choose a different code. |
promotion.reference_id.required | E5360 | 400 | invalid_request_error | Promotion code reference_id is required for upsert |
promotion.code.invalid | E5361 | 400 | invalid_request_error | That promotion code isn't valid. Check the code and try again. |
promotion.code.expired | E5362 | 400 | invalid_request_error | That promotion code has expired. |
promotion.code.quota_exceeded | E5363 | 400 | invalid_request_error | That promotion code has reached its redemption limit. |
promotion.code.minimum_not_met | E5364 | 400 | invalid_request_error | This order doesn't meet the minimum amount for that promotion code. |
promotion.code.customer_mismatch | E5365 | 400 | invalid_request_error | That promotion code can't be used on this order. |
promotion.code.not_first_transaction | E5366 | 400 | invalid_request_error | That promotion code is only valid on a first purchase. |
promotion.code.currency_mismatch | E5367 | 400 | invalid_request_error | That promotion code can't be applied in this currency. |
promotion.code.not_allowed | E5368 | 400 | invalid_request_error | Promotion codes aren't accepted on this checkout. |
promotion.code.not_applicable | E5369 | 409 | invalid_request_error | This payment is already in progress, so a promotion code can no longer be applied. |
promotion.not_started | E5370 | 400 | invalid_request_error | That promotion hasn't started yet. |
connector_catalog
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
connector_catalog.the_billing_account_already_has_active_meter | E5673 | 400 | invalid_request_error | The billing account already has active meter {reference_id} for event_name "{event_name}", and it counts events differently ({diff}), so this meter cannot share it. Use another event_name, or deactivate {reference_id_2} in the connector account. |
connector_catalog.the_billing_account_already_has_an_active | E5674 | 400 | invalid_request_error | The billing account already has an active meter for event_name "{event_name}", but it was not found among its active meters. Use another event_name. |
ledger
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
ledger.amount.invalid | E6233 | 400 | invalid_request_error | The ledger amount must be greater than zero. Provide a positive amount and retry. |
ledger.currency.invalid | E6234 | 400 | invalid_request_error | The ledger currency is invalid or not supported. Use a supported ISO-4217 currency code and retry. |
ledger.hold.not_found | E6240 | 404 | invalid_request_error | The requested hold could not be found. Check the hold id and that it has not already been settled or released. |
ledger.hold.settled | E6241 | 409 | invalid_request_error | This hold has already been settled and cannot be modified again. Create a new transfer for additional captures. |
ledger.hold.released | E6242 | 409 | invalid_request_error | This hold has already been released and cannot be settled. Create a new hold or transfer and retry. |
ledger.hold.expired | E6243 | 409 | invalid_request_error | This hold has expired and can no longer be settled. Create a new hold or transfer and retry. |
ledger.settle.exceeds_hold | E6244 | 400 | invalid_request_error | The settle amount exceeds the held amount. Settle at or below the held amount and retry. |
ledger.transaction.voided | E6250 | 409 | invalid_request_error | This transaction has already been voided and cannot be modified. |
ledger.transaction.refunded | E6251 | 409 | invalid_request_error | This transaction has already been fully refunded — no further refunds are possible. |
ledger.transaction.disputed | E6253 | 409 | invalid_request_error | This transaction is already under dispute and cannot be modified until the dispute is resolved. |
ledger.transaction.not_pending | E6254 | 409 | invalid_request_error | This action requires the transaction to be in the pending state. Check the current status and retry. |
ledger.state_transition.invalid | E6255 | 409 | invalid_request_error | The requested state transition is not allowed from the transaction's current state. |
ledger.fund_class.invalid | E6256 | 400 | invalid_request_error | The fund classification is invalid. Use a supported fund_class value and retry. |
ledger.not_reconciled | E6257 | 409 | invalid_request_error | This transaction is not yet reconciled and cannot be modified. Wait for reconciliation to complete, then retry. |
ledger.authorization.denied | E6258 | 403 | permission_error | Your account is not authorized for this ledger operation. Contact an administrator to obtain the required role. |
ledger.approval.same_actor | E6259 | 403 | permission_error | The approver must differ from the submitter. Ask a different authorized account to approve this operation. |
ledger.snapshot.violated | E6260 | 500 | api_error | A balance snapshot invariant was violated. The operation has been rolled back — contact support immediately. |
ledger.migration_in_progress | E6261 | 409 | invalid_request_error | The ledger is finishing a migration, so balances cannot be spent right now. Try again shortly. |
merchant_credit
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
merchant_credit.insufficient | E6264 | 402 | invalid_request_error | The merchant receiving this payment does not have enough prepaid credit to cover its fee. The merchant must top up its credit and try again. |
merchant_credit.retired | E6272 | 400 | invalid_request_error | This invoice buys merchant-issued credit, which Paycose no longer offers, so it cannot be paid. Ask the issuer for a new invoice. |
usage_credit
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
usage_credit.program_not_configured | E6267 | 409 | invalid_request_error | Prepaid usage credit is not turned on for this application. Turn on prepaid usage credit under Billings → Customer credit, then try again. |
usage_credit.auto_recharge_unavailable | E6268 | 409 | invalid_request_error | Auto-recharge needs a card saved on your account. Add a card under Payment methods, then turn auto-recharge on. |
usage_credit.already_used | E6269 | 409 | invalid_request_error | The credit this top-up bought has already been used, so it cannot be taken back. Refund a smaller amount, up to the credit the customer still has from this top-up. |
credit_wallet
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
credit_wallet.not_found | E6271 | 404 | invalid_request_error | The requested credit wallet could not be found. Check the id and try again. |
tax_rate
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
tax_rate.not_found | E7110 | 404 | invalid_request_error | The requested tax rate could not be found. Check the id and try again. |
tax_rate.create.failed | E7111 | 500 | api_error | The tax rate could not be created. Verify the request body and try again. |
tax_rate.update.failed | E7112 | 500 | api_error | The tax rate could not be updated. Verify the request and try again. |
tax_rate.retrieve.failed | E7113 | 500 | api_error | We couldn't load this tax rate. Check the id and try again. |
tax_rate.type.invalid | E7114 | 400 | invalid_request_error | The tax type provided is not valid. Check the allowed values and try again. |
tax_rate.list.failed | E7116 | 500 | api_error | We couldn't load the list of tax rates. Try again shortly. |
tax_rate.delete.failed | E7117 | 500 | api_error | The tax rate could not be deleted. Try again shortly, or contact support if the issue persists. |
tax_code
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
tax_code.retrieve.failed | E7115 | 500 | api_error | We couldn't load this tax code. Check the id and try again. |
tax_code.not_found | E7118 | 404 | invalid_request_error | The requested tax code could not be found. Check the id and try again. |
tax_code.list.failed | E7119 | 500 | api_error | We couldn't load the list of tax codes. Try again shortly. |
fx
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
fx.rate.not_found | E7240 | 404 | invalid_request_error | No exchange rate is available for this currency pair. Check the source and destination currencies, or try again shortly. |
fx.rate.invalid | E7241 | 400 | invalid_request_error | The exchange rate is invalid — the numerator and denominator must both be positive. Verify the rate inputs and retry. |
fx.currency.same | E7242 | 400 | invalid_request_error | A cross-currency conversion requires different source and destination currencies. Pick a different pair and retry. |
fx.provider.unavailable | E7243 | 503 | api_error | The upstream FX rate provider is unavailable. Try again shortly; if this persists, contact support. |
fx.provider.rate_invalid | E7244 | 502 | api_error | The upstream FX provider returned a non-positive or non-numeric rate. Try again shortly; if this persists, contact support. |
fx.rate.overflow | E7245 | 422 | invalid_request_error | The FX rate would overflow safe integer conversion math. Reduce the source amount or split into smaller transfers and retry. |
currency
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
currency.not_found | E7300 | 404 | invalid_request_error | The requested currency could not be found. Verify the currency code and try again. |
currency.retrieve.failed | E7301 | 500 | api_error | We couldn't load this currency. Check the id and try again. |
country
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
country.required | E7310 | 400 | invalid_request_error | A country is required but was not provided. Include a valid country and retry. |
tax
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
tax.tax_rate_for_reference_id_was_not | E7314 | 404 | invalid_request_error | Tax rate for reference id "{external_reference_id}" was not found. |
analytics
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
analytics.message | E8007 | 422 | invalid_request_error | {code}: {message} |
analytics.query.rejected | E8830 | 422 | invalid_request_error | The analytics query is not valid for this graph. Check the metrics, filters, granularity, and date range against the graph definition. |
bootstrap
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
bootstrap.the_application_country_could_not_be_found | E8036 | 404 | invalid_request_error | The application country could not be found. |
bootstrap.unknown_applies_to_type | E8037 | 400 | invalid_request_error | unknown applies_to.type |
label_rule
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
label_rule.a_rule_can_have_at_most_conditions | E8044 | 400 | invalid_request_error | a rule can have at most {max_conditions} conditions |
label_rule.action_is_not_available_on_a_use | E8045 | 400 | invalid_request_error | action "{action}" is not available on a {type}; use one of {actions} |
label_rule.an_amount_a_new_price_or_a | E8046 | 400 | invalid_request_error | an amount, a new price or a max discount needs a 3-letter currency |
label_rule.an_amount_bonus_needs_a_3_letter | E8047 | 400 | invalid_request_error | an amount bonus needs a 3-letter currency |
label_rule.an_amount_off_a_new_fee_amount | E8048 | 400 | invalid_request_error | an amount off, a new fee amount or a max discount needs a 3-letter currency |
label_rule.applies_to_needs_a_type_tax_rate | E8049 | 400 | invalid_request_error | applies_to needs a type (tax_rate, coupon, promotion_code, fee, product, price or shipping_rate) and an id |
label_rule.apply_on_must_be_original_or_discounted | E8050 | 400 | invalid_request_error | apply_on must be original or discounted |
label_rule.combine_must_be_stack_best_or_exclusive | E8051 | 400 | invalid_request_error | combine must be stack, best or exclusive |
label_rule.conditions_can_have_at_most_labels | E8052 | 400 | invalid_request_error | conditions[{value}] can have at most {max_labels_per_condition} labels |
label_rule.conditions_labels_needs_at_least_one_label | E8053 | 400 | invalid_request_error | conditions[{value}].labels needs at least one label |
label_rule.conditions_op_must_be_has_any_has | E8054 | 400 | invalid_request_error | conditions[{value}].op must be has_any, has_all or has_none |
label_rule.conditions_subject_is_not_available_on_a | E8055 | 400 | invalid_request_error | conditions[{value}].subject "{subject}" is not available on a {type} rule; use one of {allowed} |
label_rule.coupon_bonus_needs_exactly_one_of_percent | E8056 | 400 | invalid_request_error | coupon_bonus needs exactly one of percent_off_bp or amount_off |
label_rule.ends_at_must_be_after_starts_at | E8057 | 400 | invalid_request_error | ends_at must be after starts_at |
label_rule.min_subtotal_needs_a_3_letter_min | E8058 | 400 | invalid_request_error | min_subtotal needs a 3-letter min_subtotal_currency |
label_rule.name_is_at_most_characters | E8059 | 400 | invalid_request_error | name is at most {max_name_runes} characters |
label_rule.needs_exactly_one_of | E8060 | 400 | invalid_request_error | {action} needs exactly one of {allowed} |
label_rule.percent_off_bp_points_bp_set_rate | E8061 | 400 | invalid_request_error | percent_off_bp, points_bp, set_rate_bp and max_total_percent_off_bp are at most 10000 |
label_rule.this_rule_needs_at_least_one_has | E8062 | 400 | invalid_request_error | this rule needs at least one has_any or has_all condition (or no label conditions, for everyone) |
label_rule.values_cannot_be_negative | E8063 | 400 | invalid_request_error | values cannot be negative |
label_rule.not_found | E8300 | 404 | invalid_request_error | No label rule exists with this id. |
label_rule.invalid | E8301 | 400 | invalid_request_error | The label rule is not valid. Check its conditions and effect. |
label_rule.version_conflict | E8302 | 409 | invalid_request_error | This label rule was changed since you loaded it. Reload it and apply your change again. |
label_rule.limit_reached | E8303 | 400 | invalid_request_error | You can have at most 100 active label rules. Deactivate or delete one first. |
label_rule.create.failed | E8304 | 500 | api_error | We couldn't create the label rule. Try again shortly. |
label_rule.update.failed | E8305 | 500 | api_error | We couldn't update the label rule. Try again shortly. |
label_rule.delete.failed | E8306 | 500 | api_error | We couldn't delete the label rule. Try again shortly. |
label_rule.list.failed | E8307 | 500 | api_error | We couldn't load the label rules. Try again shortly. |
promotion_code
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
promotion_code.blocked_by_rule | E8308 | 400 | invalid_request_error | This code can't be applied to this purchase. |
sdk
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
sdk.error | E8400 | 500 | api_error | An SDK error occurred. Check the request parameters and try again, or contact support. |
reconciliation
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
reconciliation.verify_balance_failed | E8550 | 500 | api_error | We couldn't verify the balance integrity. Check the balance id and try again. |
reconciliation.verify_journal_failed | E8551 | 500 | api_error | We couldn't verify the journal entries. Check the journal id and try again. |
reconciliation.status_failed | E8552 | 500 | api_error | We couldn't load unreconciled status. Try again shortly. |
reconciliation.failed | E8556 | 500 | api_error | The reconciliation data could not be loaded or saved. Try again shortly. |
reconciliation.run.not_found | E8557 | 404 | invalid_request_error | No reconciliation run was found for this id. Check the id and try again. |
settlement
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
settlement.import.failed | E8553 | 500 | api_error | The statement import could not be recorded. Try again shortly. |
settlement.import.not_found | E8554 | 404 | invalid_request_error | No statement import was found for this id. Check the id and try again. |
settlement.import.not_queued | E8555 | 503 | api_error | The statement was stored but no worker is listening for imports yet. Run the wallet migrate job (or restart the worker) to declare the queue binding, then retry this import. |
report
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
report.no_data | E8600 | 404 | invalid_request_error | No data was found for the selected filters. Adjust the filter criteria and try again. |
log
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
log.retrieve.failed | E8710 | 500 | api_error | We couldn't load this log. Check the id and try again. |
statistic
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
statistic.retrieve.failed | E8820 | 500 | api_error | We couldn't load this statistic. Check the id and try again. |
resource
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
resource.not_found | E8888 | 404 | invalid_request_error | The requested resource could not be found. Check the identifier and try again. |
coin
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
coin.create.failed | E8900 | 500 | api_error | The coin could not be created. Verify the request body and try again. |
coin.update.failed | E8901 | 500 | api_error | The coin could not be updated. Verify the request and try again. |
coin.retrieve.failed | E8902 | 500 | api_error | We couldn't load this coin. Check the id and try again. |
table_metadata
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
table_metadata.list.failed | E8950 | 500 | api_error | We couldn't load the saved table settings. Try again shortly. |
table_metadata.save.failed | E8951 | 500 | api_error | The table settings could not be saved. Try again shortly. |
table_metadata.delete.failed | E8952 | 500 | api_error | The table settings could not be reset. Try again shortly. |
table_metadata.key.invalid | E8953 | 400 | invalid_request_error | The table key is invalid. Use lowercase letters, numbers, '.', '_' or '-' (max 64 chars). |
table_metadata.payload.too_large | E8954 | 400 | invalid_request_error | The table settings payload exceeds the 16KB limit. Reduce the stored settings and try again. |
table_metadata.schema.invalid | E8955 | 400 | invalid_request_error | The table settings are invalid. Check the column configuration and try again. |
link
| Code | Number | HTTP | Type | Meaning |
|---|---|---|---|---|
link.unavailable | E8970 | 400 | invalid_request_error | Lodash Link is not available for this merchant. |
link.invalid_request | E8971 | 400 | invalid_request_error | The Link request is invalid. Check the input and try again. |
link.otp.invalid | E8972 | 400 | invalid_request_error | The verification code is incorrect. Check the code and try again. |
link.otp.expired | E8973 | 400 | invalid_request_error | The verification code has expired. Request a new code. |
link.otp.too_many_attempts | E8974 | 429 | rate_limit_error | Too many incorrect attempts. Request a new code. |
link.session.invalid | E8975 | 401 | authentication_error | Your Link session is invalid or has expired. Verify your email again. |
link.card.not_found | E8976 | 404 | invalid_request_error | The selected Link card could not be found. |