Caso sua aplicação informe algum dado incorreto ou fora do padrão esperado pela API será retornado uma mensagem de erro: Erros
Além dos erros genéricos cada API tem sua sua tabela de códigos de erros conforme abaixo:
Código de erro | Mensagem |
---|---|
10001 | Email is required. |
10002 | Token is required. |
10003 | Email invalid value. |
Pagamentos via API
Código de erro | Mensagem |
---|---|
11001 | receiverEmail is required. |
11002 | receiverEmail invalid length: {0} |
11003 | receiverEmail invalid value. |
11004 | Currency is required. |
11005 | Currency invalid value: {0} |
11006 | redirectURL invalid length: {0} |
11007 | redirectURL invalid value: {0} |
11008 | reference invalid length: {0} |
11009 | senderEmail invalid length: {0} |
11010 | senderEmail invalid value: {0} |
11011 | senderName invalid length: {0} |
11012 | senderName invalid value: {0} |
11013 | senderAreaCode invalid value: {0} |
11014 | senderPhone invalid value: {0} |
11015 | shippingType is required. |
11016 | shippingType invalid type: {0} |
11017 | shippingPostalCode invalid Value: {0} |
11018 | shippingAddressStreet invalid length: {0} |
11019 | shippingAddressNumber invalid length: {0} |
11020 | shippingAddressComplement invalid length: {0} |
11021 | shippingAddressDistrict invalid length: {0} |
11022 | shippingAddressCity invalid length: {0} |
11023 | shippingAddressState invalid value: {0}, must fit the pattern: \w{2} (e. g. "SP") |
11024 | Itens invalid quantity. |
11025 | Item Id is required. |
11026 | Item quantity is required. |
11027 | Item quantity out of range: {0} |
11028 | Item amount is required. (e.g. "12.00") |
11029 | Item amount invalid pattern: {0}. Must fit the patern: \d+.\d{2} |
11030 | Item amount out of range: {0} |
11031 | Item shippingCost invalid pattern: {0}. Must fit the patern: \d+.\d{2} |
11032 | Item shippingCost out of range: {0} |
11033 | Item description is required. |
11034 | Item description invalid length: {0} |
11035 | Item weight invalid Value: {0} |
11036 | Extra amount invalid pattern: {0}. Must fit the patern: -?\d+.\d{2} |
11037 | Extra amount out of range: {0} |
11038 | Invalid receiver for checkout: {0}, verify receiver's account status. |
11039 | Malformed request XML: {0}. |
11040 | MaxAge invalid pattern: {0}. Must fit the patern: \d+ |
11041 | MaxAge out of range: {0} |
11042 | MaxUses invalid pattern: {0}. Must fit the patern: \d+ |
11043 | MaxUses out of range. |
11044 | InitialDate is required. |
11045 | InitialDate must be lower than allowed limit. |
11046 | InitialDate must not be older than 6 months. |
11047 | InitialDate must be lower than or equal finalDate. |
11048 | search interval must be lower than or equal 30 days. |
11049 | finalDate must be lower than allowed limit. |
11050 | InitialDate invalid format, use 'yyyy-MM-ddTHH:mm' (eg. 2010-01-27T17:25). |
11051 | finalDate invalid format, use 'yyyy-MM-ddTHH:mm' (eg. 2010-01-27T17:25). |
11052 | page invalid value. |
11053 | MaxPageResults invalid value (must be between 1 and 1000). |
11157 | senderCPF invalid value: {0} |