{
    "date": "2026-09-14T13:30:42+02:00",
    "event": "confirmPayment",
    "data": {
        "environment": "sandbox",
        "purchaseId": 51,
        "paymentId": "pay_znRUIJOO2OnzgkwumXAl",
        "consultantId": 401,
        "paymentStatus": "succeeded",
        "paymentStatusType": "paid",
        "paid": true,
        "paymentDiagnostic": {
            "httpCode": 200,
            "curlError": "",
            "status": "succeeded",
            "message": "Payment pending confirmation.",
            "paymentId": "pay_znRUIJOO2OnzgkwumXAl",
            "amount": 9200,
            "currency": "EUR",
            "resultCode": null,
            "resultDescription": "Style Token x 1",
            "raw": {
                "payment_id": "pay_znRUIJOO2OnzgkwumXAl",
                "merchant_id": "bc64633dbf6b4222894a765ed7f7308e",
                "status": "succeeded",
                "amount": 9200,
                "net_amount": 9200,
                "shipping_cost": null,
                "amount_capturable": 0,
                "amount_received": 9200,
                "processor_merchant_id": "bc64633dbf6b4222894a765ed7f7308e",
                "initiator": null,
                "sdk_authorization": "[redacted]",
                "connector": "aci",
                "state_metadata": null,
                "client_secret": "[redacted]",
                "created": "2026-09-14T11:30:25.247Z",
                "modified_at": "2026-09-14T11:30:41.408Z",
                "connector_customer_id": null,
                "currency": "EUR",
                "customer_id": null,
                "customer": null,
                "description": "Style Token x 1",
                "refunds": null,
                "disputes": null,
                "mandate_id": null,
                "mandate_data": null,
                "setup_future_usage": null,
                "off_session": null,
                "capture_on": null,
                "capture_method": "automatic",
                "payment_method": "card",
                "payment_method_data": {
                    "card": {
                        "last4": "0007",
                        "card_type": null,
                        "card_network": "Mastercard",
                        "card_issuer": null,
                        "card_issuing_country": null,
                        "card_isin": "520000",
                        "card_extended_bin": null,
                        "card_exp_month": "02",
                        "card_exp_year": "29",
                        "card_holder_name": "a a",
                        "payment_checks": {
                            "stan": null,
                            "cvvResponse": null,
                            "acquirerResponse": "SUCCESS",
                            "originalTransactionId": null
                        },
                        "authentication_data": null,
                        "auth_code": null
                    },
                    "billing": {
                        "address": {
                            "city": null,
                            "country": "ZA",
                            "line1": null,
                            "line2": null,
                            "line3": null,
                            "zip": null,
                            "state": null,
                            "first_name": "a",
                            "last_name": "a",
                            "origin_zip": null
                        },
                        "phone": null,
                        "email": null
                    }
                },
                "payment_token": null,
                "shipping": null,
                "billing": null,
                "order_details": null,
                "email": null,
                "name": null,
                "phone": null,
                "return_url": "com.pocketstylists.ps-studio.hyperswitch://",
                "authentication_type": "three_ds",
                "statement_descriptor_name": null,
                "statement_descriptor_suffix": null,
                "next_action": null,
                "cancellation_reason": null,
                "error_code": null,
                "error_message": null,
                "unified_code": null,
                "unified_message": null,
                "error_details": null,
                "payment_experience": null,
                "payment_method_type": "credit",
                "connector_label": null,
                "business_country": null,
                "business_label": "default",
                "business_sub_label": null,
                "allowed_payment_method_types": null,
                "manual_retry_allowed": null,
                "connector_transaction_id": "8ac7a4a2a09f792701a09faefff43aea",
                "frm_message": null,
                "metadata": {
                    "currency": "EUR",
                    "quantity": "1",
                    "specialId": "",
                    "tokenType": "style",
                    "purchaseId": "51",
                    "tokenTypeId": "3",
                    "totalTokens": "1",
                    "consultantId": "401",
                    "freeQuantity": "0",
                    "paidQuantity": "1",
                    "amount_display": "EUR 92.00",
                    "consultantEmail": "simoneb.imageconsultant@gmail.com",
                    "merchantTransactionId": "PS26091413302439"
                },
                "connector_metadata": null,
                "connector_response_metadata": null,
                "feature_metadata": {
                    "redirect_response": null,
                    "search_tags": null,
                    "apple_pay_recurring_details": null,
                    "pix_additional_details": null,
                    "boleto_additional_details": null,
                    "pix_automatico_additional_details": null,
                    "finix_additional_details": null
                },
                "reference_id": "8ac7a4a2a09f792701a09faefff43aea",
                "payment_link": null,
                "profile_id": "pro_lif0VqaXZSWfucv42Wtf",
                "surcharge_details": null,
                "applied_offer": null,
                "attempt_count": 1,
                "merchant_decision": null,
                "merchant_connector_id": "mca_zo46NA56N11y5QtcBI7P",
                "incremental_authorization_allowed": false,
                "authorization_count": null,
                "incremental_authorizations": null,
                "external_authentication_details": null,
                "external_3ds_authentication_attempted": false,
                "expires_on": "2026-09-14T11:45:25.247Z",
                "fingerprint": null,
                "fingerprint_type": null,
                "browser_info": {
                    "os_type": "ios",
                    "referer": null,
                    "language": "en",
                    "time_zone": -120,
                    "ip_address": "154.126.200.55",
                    "os_version": "26.2",
                    "user_agent": "Mozilla/5.0 (iPhone; CPU OS 26_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 pocketstyliststudio/1.0.15",
                    "color_depth": 32,
                    "device_model": "iPhone",
                    "java_enabled": true,
                    "screen_width": 402,
                    "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
                    "screen_height": 874,
                    "accept_language": "en-US,en;q=0.9",
                    "java_script_enabled": true
                },
                "payment_channel": null,
                "payment_method_id": null,
                "network_transaction_id": null,
                "payment_account_reference": null,
                "network_transaction_link_id": null,
                "payment_method_status": null,
                "updated": "2026-09-14T11:30:41.408Z",
                "split_payments": null,
                "frm_metadata": null,
                "extended_authorization_applied": null,
                "extended_authorization_last_applied_at": null,
                "request_extended_authorization": null,
                "capture_before": null,
                "merchant_order_reference_id": null,
                "order_tax_amount": null,
                "connector_mandate_id": null,
                "card_discovery": "manual",
                "force_3ds_challenge": false,
                "force_3ds_challenge_trigger": false,
                "issuer_error_code": null,
                "issuer_error_message": null,
                "is_iframe_redirection_enabled": null,
                "whole_connector_response": null,
                "enable_partial_authorization": null,
                "enable_overcapture": null,
                "is_overcapture_enabled": null,
                "network_details": null,
                "is_stored_credential": null,
                "mit_category": null,
                "billing_descriptor": null,
                "is_account_funded_transaction": null,
                "recipient_details": null,
                "tokenization": null,
                "partner_merchant_identifier_details": null,
                "payment_method_tokenization_details": null,
                "installment_options": null,
                "installment_data": null,
                "sender_payment_instrument_id": null
            }
        },
        "tokensGenerated": true,
        "tokenGenerationStatus": "generated",
        "message": "Payment successful and tokens generated.",
        "peachResponse": {
            "payment_id": "pay_znRUIJOO2OnzgkwumXAl",
            "merchant_id": "bc64633dbf6b4222894a765ed7f7308e",
            "status": "succeeded",
            "amount": 9200,
            "net_amount": 9200,
            "shipping_cost": null,
            "amount_capturable": 0,
            "amount_received": 9200,
            "processor_merchant_id": "bc64633dbf6b4222894a765ed7f7308e",
            "initiator": null,
            "sdk_authorization": "[redacted]",
            "connector": "aci",
            "state_metadata": null,
            "client_secret": "[redacted]",
            "created": "2026-09-14T11:30:25.247Z",
            "modified_at": "2026-09-14T11:30:41.408Z",
            "connector_customer_id": null,
            "currency": "EUR",
            "customer_id": null,
            "customer": null,
            "description": "Style Token x 1",
            "refunds": null,
            "disputes": null,
            "mandate_id": null,
            "mandate_data": null,
            "setup_future_usage": null,
            "off_session": null,
            "capture_on": null,
            "capture_method": "automatic",
            "payment_method": "card",
            "payment_method_data": {
                "card": {
                    "last4": "0007",
                    "card_type": null,
                    "card_network": "Mastercard",
                    "card_issuer": null,
                    "card_issuing_country": null,
                    "card_isin": "520000",
                    "card_extended_bin": null,
                    "card_exp_month": "02",
                    "card_exp_year": "29",
                    "card_holder_name": "a a",
                    "payment_checks": {
                        "stan": null,
                        "cvvResponse": null,
                        "acquirerResponse": "SUCCESS",
                        "originalTransactionId": null
                    },
                    "authentication_data": null,
                    "auth_code": null
                },
                "billing": {
                    "address": {
                        "city": null,
                        "country": "ZA",
                        "line1": null,
                        "line2": null,
                        "line3": null,
                        "zip": null,
                        "state": null,
                        "first_name": "a",
                        "last_name": "a",
                        "origin_zip": null
                    },
                    "phone": null,
                    "email": null
                }
            },
            "payment_token": null,
            "shipping": null,
            "billing": null,
            "order_details": null,
            "email": null,
            "name": null,
            "phone": null,
            "return_url": "com.pocketstylists.ps-studio.hyperswitch://",
            "authentication_type": "three_ds",
            "statement_descriptor_name": null,
            "statement_descriptor_suffix": null,
            "next_action": null,
            "cancellation_reason": null,
            "error_code": null,
            "error_message": null,
            "unified_code": null,
            "unified_message": null,
            "error_details": null,
            "payment_experience": null,
            "payment_method_type": "credit",
            "connector_label": null,
            "business_country": null,
            "business_label": "default",
            "business_sub_label": null,
            "allowed_payment_method_types": null,
            "manual_retry_allowed": null,
            "connector_transaction_id": "8ac7a4a2a09f792701a09faefff43aea",
            "frm_message": null,
            "metadata": {
                "currency": "EUR",
                "quantity": "1",
                "specialId": "",
                "tokenType": "style",
                "purchaseId": "51",
                "tokenTypeId": "3",
                "totalTokens": "1",
                "consultantId": "401",
                "freeQuantity": "0",
                "paidQuantity": "1",
                "amount_display": "EUR 92.00",
                "consultantEmail": "simoneb.imageconsultant@gmail.com",
                "merchantTransactionId": "PS26091413302439"
            },
            "connector_metadata": null,
            "connector_response_metadata": null,
            "feature_metadata": {
                "redirect_response": null,
                "search_tags": null,
                "apple_pay_recurring_details": null,
                "pix_additional_details": null,
                "boleto_additional_details": null,
                "pix_automatico_additional_details": null,
                "finix_additional_details": null
            },
            "reference_id": "8ac7a4a2a09f792701a09faefff43aea",
            "payment_link": null,
            "profile_id": "pro_lif0VqaXZSWfucv42Wtf",
            "surcharge_details": null,
            "applied_offer": null,
            "attempt_count": 1,
            "merchant_decision": null,
            "merchant_connector_id": "mca_zo46NA56N11y5QtcBI7P",
            "incremental_authorization_allowed": false,
            "authorization_count": null,
            "incremental_authorizations": null,
            "external_authentication_details": null,
            "external_3ds_authentication_attempted": false,
            "expires_on": "2026-09-14T11:45:25.247Z",
            "fingerprint": null,
            "fingerprint_type": null,
            "browser_info": {
                "os_type": "ios",
                "referer": null,
                "language": "en",
                "time_zone": -120,
                "ip_address": "154.126.200.55",
                "os_version": "26.2",
                "user_agent": "Mozilla/5.0 (iPhone; CPU OS 26_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 pocketstyliststudio/1.0.15",
                "color_depth": 32,
                "device_model": "iPhone",
                "java_enabled": true,
                "screen_width": 402,
                "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
                "screen_height": 874,
                "accept_language": "en-US,en;q=0.9",
                "java_script_enabled": true
            },
            "payment_channel": null,
            "payment_method_id": null,
            "network_transaction_id": null,
            "payment_account_reference": null,
            "network_transaction_link_id": null,
            "payment_method_status": null,
            "updated": "2026-09-14T11:30:41.408Z",
            "split_payments": null,
            "frm_metadata": null,
            "extended_authorization_applied": null,
            "extended_authorization_last_applied_at": null,
            "request_extended_authorization": null,
            "capture_before": null,
            "merchant_order_reference_id": null,
            "order_tax_amount": null,
            "connector_mandate_id": null,
            "card_discovery": "manual",
            "force_3ds_challenge": false,
            "force_3ds_challenge_trigger": false,
            "issuer_error_code": null,
            "issuer_error_message": null,
            "is_iframe_redirection_enabled": null,
            "whole_connector_response": null,
            "enable_partial_authorization": null,
            "enable_overcapture": null,
            "is_overcapture_enabled": null,
            "network_details": null,
            "is_stored_credential": null,
            "mit_category": null,
            "billing_descriptor": null,
            "is_account_funded_transaction": null,
            "recipient_details": null,
            "tokenization": null,
            "partner_merchant_identifier_details": null,
            "payment_method_tokenization_details": null,
            "installment_options": null,
            "installment_data": null,
            "sender_payment_instrument_id": null
        },
        "tokenGenerationResponse": {
            "responseCode": "200",
            "results": "Success",
            "dateCreated": "2026-09-14 13:30:42",
            "tokenList": [
                "922981"
            ]
        }
    }
}
