You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/hyperswitch_connectors/src/connectors/globalpay/response.rs
+2
Original file line number
Diff line number
Diff line change
@@ -134,6 +134,8 @@ pub struct PaymentMethod {
134
134
/// Result message from the payment method provider corresponding to the result code.
135
135
pubmessage:Option<String>,
136
136
/// Result code from the payment method provider.
137
+
/// If a card authorization declines, the payment_method result and message include more detail from the Issuer on why it was declined.
138
+
/// For example, 51 - INSUFFICIENT FUNDS. This is generated by the issuing bank, who will provide decline codes in the response back to the authorization platform.
// Access Worldpay returns a raw response code in the refusalCode field (if enabled) containing the unmodified response code received either directly from the card scheme for Worldpay-acquired transactions, or from third party acquirers.
// Access Worldpay returns a raw response code in the refusalCode field (if enabled) containing the unmodified response code received either directly from the card scheme for Worldpay-acquired transactions, or from third party acquirers.
808
+
// You can use raw response codes to inform your retry logic. A rawCode is only returned if specifically requested.
0 commit comments