type
- Link to our developer portal for more information about the error.title
- Short description about the error.status
- HTTP status code.detail
- Longer description about the error.errors
array that contains a message
field for each error. The message
field provides more detail about the error.
{"type": "https://docs.payroc.com/api/errors#api-error","title": "Api error","status": 500,"detail": "We are unable to process your request at this time""errors": [{"message": "Service offline"}]}
errors
array that contains the following fields for each incorrect parameter:
parameter
- Name of the parameter that contains the error.detail
- Short description of the error.message
- Longer description of the error.{"type": "https://docs.payroc.com/api/errors#bad-request","title": "Bad request","status": 400,"detail": "One or more validation errors occurred, see error section for more info","errors": [{"parameter": "start_time","detail": "invalid date","message": "Expected time, got \\\"\\\" for start_time"}]}
{"type": "https://docs.payroc.com/api/errors#cannot-be-modified","title": "Cannot be modified","status": 409,"detail": "You cannot modify this resource in its current state"}
errors
array that contains a message
field for each error. The message
field provides more information about the error.
{"type": "https://docs.payroc.com/api/errors#capabilities-missing","title": "Capabilities missing","status": 400,"detail": "The terminal does not support the capability you are trying to use.","errors": [{"parameter": "processingTerminalId","message": "Processing terminal does not support pre-authorizations"}]}
{"type": "https://docs.payroc.com/api/errors#card-type-not-supported","title": "Card type is not supported","status": 400,"detail": "You cannot process transactions with 'card_type' cards through this account"}
{"type": "https://docs.payroc.com/api/errors#contract-already-signed","title": "Contract already signed","status": 400,"detail": "The merchant has already signed the contract"}
{"type": "https://docs.payroc.com/api/errors#currency-not-supported","title": "Currency is not supported","status": 400,"detail": "You cannot process 'currency_code' transactions through this account"}
{"type": "https://docs.payroc.com/api/errors#forbidden","title": "Forbidden","status": 403,"detail": "You do not have the required permissions to perform this action"}
{"type": "https://docs.payroc.com/api/errors#funding-accounts-limit-reached","title": "Funding accounts limit reached","status": 400,"detail": "You can not have any more than two funding accounts attached to this entity",}
pending
or rejected
, the funding account can't receive funds. To check the status of a funding account, send a GET request to the Funding Accounts endpoint.
{"type": "https://docs.payroc.com/api/errors#funding-accounts-restricted","title": "Funding accounts restricted","status": 400,"detail": "One or more funding accounts are restricted and can't receive funding instructions","errors": [{"fundingAccountId": 123,"message": "Funding account on hold"}]}
{"type": "https://docs.payroc.com/api/errors#idempotency-key-in-use","title": "Idempotency-Key in use","status": 409,"detail": "'Idempotency-Key' is already in use against a different request",}
{"type": "https://docs.payroc.com/api/errors#idempotency-key-missing","title": "Idempotent-key header missing","status": 400,"detail": "An 'Idempotency-Key' must be supplied for this request",}
{"type": "https://docs.payroc.com/api/errors#insufficient-funds","title": "Insufficient funds","status": 400,"detail": "You do not have the required funds to complete this transaction",}
{"type": "https://docs.payroc.com/api/errors#kyc-check-failed","title": "Failed KYC Checks","status": 400,"detail": "Entity has been rejected due to failing KYC checks",}
{"type": "https://docs.payroc.com/api/errors#national-id-in-use","title": "National ID in use","status": 409,"detail": "One or more supplied national IDs are not unique. All national IDs must be unique"}
{"type": "https://docs.payroc.com/api/errors#no-control-prong-or-authorized-signatory","title": "No control prong or authorized signatory","status": 400,"detail": "Set one owner as the control prong or the authorized signatory"}
{"type": "https://docs.payroc.com/api/errors#no-pricing-agreement-exists-for-the-processing-account","title": "No pricing agreement exists","status": 400,"detail": "There is no pricing agreement linked to the processing account"}
{"type": "https://docs.payroc.com/api/errors#not-acceptable","title": "Not acceptable","status": 406,"detail": "Resource does not support the representation requested"}
{"type": "https://docs.payroc.com/api/errors#not-authorized","title": "Not authorized","status": 401,"detail": "Your identity could not be verified"}
resource
field that contains the name of the resource. Make sure that you have included the correct URI.
{"type": "https://docs.payroc.com/api/errors#not-found","title": "Not found","status": 404,"detail": "Resource not found","resource": "account"}
{"type": "https://docs.payroc.com/api/errors#not-requested-by-email","title": "Not requested by email","status": 400,"detail": "You can use the Reminders endpoint only for information that we sent by email",}
{"type": "https://docs.payroc.com/api/errors#payload-too-large","title": "Payload too large","status": 413,"detail": "The payload submitted is too large"}
errors
array that contains a message
field for each error. The message
field provides more information about the error.
{"type": "https://docs.payroc.com/api/errors#processing-terminal-not-accepted","title": "Processing terminal was not accepted","status": 400,"detail": "The processing terminal is unable to handle the request, see error section for more info","errors": [{"parameter": "processingTerminalId","message": "Processing terminal has been deactivated"}]}
{"type": "https://docs.payroc.com/api/errors#resource-already-exists","title": "Resource already exists","status": 409,"detail": "The resource you attempted to create already exists",}
{"type": "https://docs.payroc.com/api/errors#search-too-broad","title": "Search too broad","status": 400,"detail": "Your request has produced a list of results that is too large."}
{"type": "https://docs.payroc.com/api/errors#tax-id-in-use","title": "Tax ID already in use","status": 409,"detail": "The tax ID that you supplied is already in use. Supply a unique tax ID"}
{"type": "https://docs.payroc.com/api/errors#too-many-control-prongs","title": "Too many control prongs","status": 400,"detail": "You can set only one owner as the control prong"}
{"type": "https://docs.payroc.com/api/errors#unsupported-media-type","title": "Unsupported media type","status": 415,"detail": "You submitted a payload in an unsupported format"}
errors
array that contains a detail
field and a message
field for each error. The message
field provides more information about the error.
{"type": "https://docs.payroc.com/api/errors#volume-limit-reached","title": "Volume limit has been reached","status": 400,"detail": "You have exceeded the processing volume limit for your account.","errors": [{"parameter": "order.amount","detail": "Above maximum","message": "'amount' must not exceed USD 500"}]}