1
0
Files
PayPal-PHP-Server-SDK/doc/models/reason-code.md
Patrick Powers 1fc2cf1e07 2.0.0 Release (#58)
* Automated commit message

* Automated commit message

* add changelog

---------

Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
2025-11-13 16:32:53 -06:00

23 lines
828 B
Markdown

# Reason Code
The reason code for the payment failure.
## Enumeration
`ReasonCode`
## Fields
| Name | Description |
| --- | --- |
| `PAYMENT_DENIED` | PayPal declined the payment due to one or more customer issues. |
| `INTERNAL_SERVER_ERROR` | An internal server error has occurred. |
| `PAYEE_ACCOUNT_RESTRICTED` | The payee account is not in good standing and cannot receive payments. |
| `PAYER_ACCOUNT_RESTRICTED` | The payer account is not in good standing and cannot make payments. |
| `PAYER_CANNOT_PAY` | Payer cannot pay for this transaction. |
| `SENDING_LIMIT_EXCEEDED` | The transaction exceeds the payer's sending limit. |
| `TRANSACTION_RECEIVING_LIMIT_EXCEEDED` | The transaction exceeds the receiver's receiving limit. |
| `CURRENCY_MISMATCH` | The transaction is declined due to a currency mismatch. |