User Guide
MarkInvoiceAsRefunded API Operation
MarkInvoiceAsRefunded API Errors
12
116 May 2012 Invoicing Service API Guide
MarkInvoiceAsRefunded API Errors
correlationId xs:string
Correlation identifier. It is a 13-character, alphanumeric string (for example,
db87c705a910e) that is used only by PayPal Merchant Technical Support.
NOTE: You must log and store this data for every response you receive.
PayPal Technical Support uses the information to assist with reported
issues.
timestamp xs:datetime
Date on which the response was sent, for example:
2012-04-02T22:33:35.774-07:00
NOTE: You must log and store this data for every response you receive.
PayPal Technical Support uses the information to assist with reported
issues.
Code Message Additional Information
520002 Internal error.
520005 Authentication failed. API credentials are incorrect.
520009 Account is restricted.
550026 Partner did not create the invoice but attempted to access or
modify it; a merchant’s invoice can be accessed or modified only
by the partner who created it.
550027 Merchant cannot access or modify an invoice they did not create;
an invoice can only be accessed or modified by the party who
created it.
570058 Invalid token.
570080 Invoice must be marked as paid before it can be marked as
refunded.
570081 Refund date must occur after payment date.
580022 This error code corresponds to validation error messages that
deal with errors of supplied parameters.
580047 Invoice does not exist.
Field Description