Skip to main content

API errors

HTTP statusMeaning
400Invalid request body or business rule violation
401Missing or invalid API key
404Payment or resource not found
Example:
{
  "error": "Amount must be a valid Stellar amount"
}

Payment statuses

StatusDescription
pendingAwaiting customer payment
completedVerified on Horizon
failedTransaction failed or verification rejected
expiredPast expires_at without completion
Failed payments can be re-confirmed if a valid transaction hash is submitted before expiration.

Stellar network errors

op_no_trust

Cause: Missing USDC trustline on the customer or merchant wallet. Fix: Add a trustline to the correct USDC issuer for your network. See Settlement wallet.

op_underfunded

Cause: Wallet balance is too low for the payment amount plus fees. Fix: Fund the wallet with enough XLM or USDC.

op_line_full

Cause: Destination trustline limit reached. Fix: Increase the trustline limit on the receiving account.

Issuer is invalid

Cause: STELLAR_*_USDC_ISSUER environment variable is missing or incorrect on the Payoes server. Fix: Set the correct Circle USDC issuer for testnet or mainnet in your deployment environment.

Verification errors

ErrorCause
Payment operation not foundNo matching payment op in the transaction
Payment was sent to a different addressDestination does not match settlement wallet
Payment amount does not matchAmount differs from the payment record
Payment asset does not matchWrong asset type or issuer
Transaction was not successfulTransaction failed on Stellar
Amount comparisons normalize Stellar’s 7-decimal format (2 equals 2.0000000).

Getting help

  • Check the transaction on Stellar Expert for the correct network
  • Review Developers → API Logs for request details
  • Confirm settlement wallet and trustlines are configured for the payment asset