mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(core): populate UCS status_code in response headers (#8788)
Co-authored-by: Aishwariyaa Anand <aishwariyaa.anand@Aishwariyaa-Anand-C3PGW02T6Y.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: likhinbopanna <131246334+likhinbopanna@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
988c170726
commit
2adf6c8367
@ -92,6 +92,12 @@ pub mod headers {
|
||||
pub const X_CLIENT_SECRET: &str = "X-Client-Secret";
|
||||
pub const X_CUSTOMER_ID: &str = "X-Customer-Id";
|
||||
pub const X_CONNECTED_MERCHANT_ID: &str = "x-connected-merchant-id";
|
||||
// Header value for X_CONNECTOR_HTTP_STATUS_CODE differs by version.
|
||||
// Constant name is kept the same for consistency across versions.
|
||||
#[cfg(feature = "v1")]
|
||||
pub const X_CONNECTOR_HTTP_STATUS_CODE: &str = "connector_http_status_code";
|
||||
#[cfg(feature = "v2")]
|
||||
pub const X_CONNECTOR_HTTP_STATUS_CODE: &str = "x-connector-http-status-code";
|
||||
}
|
||||
|
||||
pub mod pii {
|
||||
|
||||
Reference in New Issue
Block a user