{
    "idTransaction": "5b62bd0f-906e-43cb-b4a4-46358d5117d2",
    "status": "APPROVED",
    "plano": "MENSAL",
    "valor": 25,
    "tipo_assinatura": "novo",
    "usuario_atual": "",
    "nome": "Cliente UniTV 8882",
    "whatsapp": "19940078882",
    "pin": "435734",
    "days": 30,
    "max_connections": 1,
    "email": "19940078882@brstream.vip",
    "auto_checkout": false,
    "checkout_token": "unitv_1782081473719_a32ptt48bd",
    "external_ref": "BRSTREAM-MENSAL-20260621223754-9365",
    "pix_expires_date": "2026-06-24",
    "pix_copia_e_cola": "00020101021126990014br.gov.bcb.pix0114663612650001230259AVISO Serao aceitos apenas pagamentos realizados por pessoa520400005303986540525.005802BR5925ZAPCOIN INTERMEDIACOES LT6009SAO PAULO62290525rcwpgbq62xotxiq562btwacuq630458CB",
    "created_at": "2026-06-21T22:37:54+00:00",
    "updated_at": "2026-06-21T22:38:41+00:00",
    "raw_syncpay": {
        "status": "success",
        "message": "ok",
        "client_id": "a2145153-78ac-46f3-b44c-2bf096612547",
        "urlWebHook": "https://unitv.brstream.vip/pix/syncpay_webhook.php",
        "paymentCode": "00020101021126990014br.gov.bcb.pix0114663612650001230259AVISO Serao aceitos apenas pagamentos realizados por pessoa520400005303986540525.005802BR5925ZAPCOIN INTERMEDIACOES LT6009SAO PAULO62290525rcwpgbq62xotxiq562btwacuq630458CB",
        "idTransaction": "5b62bd0f-906e-43cb-b4a4-46358d5117d2",
        "paymentCodeBase64": "MDAwMjAxMDEwMjExMjY5OTAwMTRici5nb3YuYmNiLnBpeDAxMTQ2NjM2MTI2NTAwMDEyMzAyNTlBVklTTyBTZXJhbyBhY2VpdG9zIGFwZW5hcyBwYWdhbWVudG9zIHJlYWxpemFkb3MgcG9yIHBlc3NvYTUyMDQwMDAwNTMwMzk4NjU0MDUyNS4wMDU4MDJCUjU5MjVaQVBDT0lOIElOVEVSTUVESUFDT0VTIExUNjAwOVNBTyBQQVVMTzYyMjkwNTI1cmN3cGdicTYyeG90eGlxNTYyYnR3YWN1cTYzMDQ1OENC",
        "status_transaction": "WAITING_FOR_APPROVAL"
    },
    "last_webhook_at": "2026-06-21T22:37:55+00:00",
    "webhook_status_received": "APPROVED",
    "webhook_match_mode": "direct",
    "webhook_ids_received": [
        "5b62bd0f-906e-43cb-b4a4-46358d5117d2"
    ],
    "webhook_external_received": [
        "5b62bd0f-906e-43cb-b4a4-46358d5117d2"
    ],
    "username": "19940078882",
    "password": "435734",
    "login": "19940078882",
    "senha": "435734",
    "server": "https://brstream.vip",
    "dns": "https://brstream.vip",
    "xui_server": "https://brstream.vip",
    "xui_created": true,
    "xui_processed": true,
    "processed": true,
    "pending_release_started_at": "2026-06-21T22:38:39+00:00",
    "xui_error": "bridge_create_returned_error_but_status_keeps_listening",
    "xui_rc": -1,
    "xui_stdout": "/home/xui/www/pix/create_line_revenda.sh: line 80: echo: write error: Broken pipe\nOK\nusername=19940078882\npassword=435734\ndias=30\nexpira_em=2026-07-21 19:38\nconexoes=1\nbouquets=[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\"]",
    "xui_bridge_result": {
        "ok": false,
        "rc": -1,
        "error": "create_line_script_failed",
        "created": false,
        "xui_ready": false,
        "username": "19940078882",
        "password": "435734",
        "login": "19940078882",
        "senha": "435734",
        "days": 30,
        "max_connections": 1,
        "transaction_id": "5b62bd0f-906e-43cb-b4a4-46358d5117d2",
        "elapsed_seconds": 1.604,
        "method": "direct",
        "timed_out": false,
        "output": "/home/xui/www/pix/create_line_revenda.sh: line 80: echo: write error: Broken pipe\nOK\nusername=19940078882\npassword=435734\ndias=30\nexpira_em=2026-07-21 19:38\nconexoes=1\nbouquets=[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"10\",\"11\",\"12\",\"13\",\"14\",\"15\"]",
        "hint": "Esse erro vem do /home/xui/www/pix/create_line_paid.sh da BRSTREAM. Veja /home/xui/www/pix/syncpay_bridge_create.log",
        "http": 200
    },
    "last_check": {
        "ok": true,
        "mode": "check",
        "xui_ready": true,
        "ready": true,
        "username": "19940078882",
        "password": "435734",
        "login": "19940078882",
        "senha": "435734",
        "transaction_id": "5b62bd0f-906e-43cb-b4a4-46358d5117d2",
        "check": {
            "ready": true,
            "url": "http://127.0.0.1/player_api.php",
            "http": 200,
            "response": {
                "user_info": {
                    "username": "19940078882",
                    "password": "435734",
                    "message": "Welcome to XUI.one",
                    "auth": 1,
                    "status": "Active",
                    "exp_date": "1784673480",
                    "is_trial": "0",
                    "active_cons": "0",
                    "created_at": "1782081521",
                    "max_connections": "1",
                    "allowed_output_formats": [
                        "m3u8",
                        "ts",
                        "rtmp"
                    ]
                },
                "server_info": {
                    "xui": true,
                    "version": "1.5.13",
                    "revision": null,
                    "url": "127.0.0.1",
                    "port": "80",
                    "https_port": "443",
                    "server_protocol": "https",
                    "rtmp_port": "8880",
                    "timestamp_now": 1782081521,
                    "time_now": "2026-06-21 19:38:41",
                    "timezone": "America/Sao_Paulo"
                }
            },
            "raw": "{\"user_info\":{\"username\":\"19940078882\",\"password\":\"435734\",\"message\":\"Welcome to XUI.one\",\"auth\":1,\"status\":\"Active\",\"exp_date\":\"1784673480\",\"is_trial\":\"0\",\"active_cons\":\"0\",\"created_at\":\"1782081521\",\"max_connections\":\"1\",\"allowed_output_formats\":[\"m3u8\",\"ts\",\"rtmp\"]},\"server_info\":{\"xui\":true,\"version\":\"1.5.13\",\"revision\":null,\"url\":\"127.0.0.1\",\"port\":\"80\",\"https_port\":\"443\",\"server_protocol\":\"https\",\"rtmp_port\":\"8880\",\"timestamp_now\":1782081521,\"time_now\":\"2026-06-21 19:38:41\",\"timezone\":\"America\\/Sao_Paulo\"}}"
        },
        "output": "PLAYER_API READY",
        "http": 200,
        "rc": 0
    }
}