{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "https:\/\/clicpay.co.mz"
        }
    ],
    "info": {
        "name": "ClicPay API Documentation",
        "_postman_id": "a5140e5a-442c-487c-b50f-332ebf97d74f",
        "description": "API ClicPay v2 - M-Pesa, e-Mola, NetShop e autentica\u00e7\u00e3o",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "Transa\u00e7\u00f5es M-Pesa",
            "description": "",
            "item": [
                {
                    "name": "POST api\/v2\/wallets\/{wallet_id}\/c2b\/mpesa",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/wallets\/:wallet_id\/c2b\/mpesa",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/wallets\/:wallet_id\/c2b\/mpesa",
                            "variable": [
                                {
                                    "id": "wallet_id",
                                    "key": "wallet_id",
                                    "value": "107219",
                                    "description": "The ID of the wallet."
                                },
                                {
                                    "id": "wallet",
                                    "key": "wallet",
                                    "value": "12",
                                    "description": "ID da carteira M-Pesa."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"msisdn\":\"841234567\",\"amount\":1000,\"reference_description\":\"Pagamento de servi\u00e7os\",\"internal_notes\":\"Pedido #9001\",\"splits\":[\"architecto\"]}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Transa\u00e7\u00e3o iniciada com sucesso\", \"clicpay_reference\": \"CPAYMPSESC2BABCDE12345\", \"status\": \"pending\", \"transaction_id\": 789, \"split_summary\": {\"direct\": [], \"collect\": []}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"message\": \"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"errors\": {\"splits.0.wallet_split_id\": [\"O split n\u00e3o pertence a esta carteira ou n\u00e3o \u00e9 dynamic_load.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/v2\/wallets\/{wallet_id}\/c2b\/mpesa\/direct",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/wallets\/:wallet_id\/c2b\/mpesa\/direct",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/wallets\/:wallet_id\/c2b\/mpesa\/direct",
                            "variable": [
                                {
                                    "id": "wallet_id",
                                    "key": "wallet_id",
                                    "value": "107219",
                                    "description": "The ID of the wallet."
                                },
                                {
                                    "id": "wallet",
                                    "key": "wallet",
                                    "value": "12",
                                    "description": "ID da carteira M-Pesa."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"msisdn\":\"841234567\",\"amount\":1000,\"reference_description\":\"Pagamento de servi\u00e7os\",\"internal_notes\":\"Pedido #9001\",\"splits\":[\"architecto\"]}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Transa\u00e7\u00e3o iniciada com sucesso\", \"clicpay_reference\": \"CPAYMPSESC2BABCDE12345\", \"status\": \"pending\", \"transaction_id\": 789, \"split_summary\": {\"direct\": [], \"collect\": []}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"message\": \"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"errors\": {\"splits.0.value_type\": [\"O campo value_type deve ser percentage ou amount.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/v2\/wallets\/{wallet_id}\/b2c\/mpesa",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/wallets\/:wallet_id\/b2c\/mpesa",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/wallets\/:wallet_id\/b2c\/mpesa",
                            "variable": [
                                {
                                    "id": "wallet_id",
                                    "key": "wallet_id",
                                    "value": "107219",
                                    "description": "The ID of the wallet."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"msisdn\":\"841234567\",\"amount\":500,\"reference_description\":\"Compra online\",\"internal_notes\":\"Pedido #12345\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Transa\u00e7\u00e3o iniciada com sucesso\", \"clicpay_reference\": \"CP123456789\", \"status\": \"pending\", \"transaction_id\": 124}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"errors\": {\"msisdn\": [\"N\u00famero de telefone inv\u00e1lido\"], \"amount\": [\"Valor deve ser entre 1 e 50000\"]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"message\": \"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"Acesso negado \u00e0 carteira\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Transa\u00e7\u00f5es eMola",
            "description": "",
            "item": [
                {
                    "name": "POST api\/v2\/wallets\/{wallet_id}\/c2b\/emola",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/wallets\/:wallet_id\/c2b\/emola",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/wallets\/:wallet_id\/c2b\/emola",
                            "variable": [
                                {
                                    "id": "wallet_id",
                                    "key": "wallet_id",
                                    "value": "107219",
                                    "description": "The ID of the wallet."
                                },
                                {
                                    "id": "wallet",
                                    "key": "wallet",
                                    "value": "12",
                                    "description": "ID da carteira eMola."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"msisdn\":\"841234567\",\"amount\":1000,\"reference_description\":\"Pagamento de servi\u00e7os\",\"internal_notes\":\"Pedido #9001\",\"splits\":[\"architecto\"]}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Transa\u00e7\u00e3o iniciada com sucesso\", \"clicpay_reference\": \"CPAYEMOLAC2BABCDE12345\", \"status\": \"pending\", \"transaction_id\": 789, \"provider_reference\": null, \"provider_response_code\": \"0\", \"split_summary\": {\"direct\": [{\"wallet_split_id\": 42, \"mode\": \"b2c_direct\", \"allocated\": 300.00, \"recipients\": [{\"msisdn\": \"841234567\", \"amount\": 300.00}]}], \"collect\": [{\"wallet_split_id\": 43, \"mode\": \"wallet_collect\", \"allocated\": 200.00}]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\": \"Erro do provedor\", \"clicpay_reference\": \"CPAY...\", \"status\": \"failed\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"message\": \"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"Sem acesso \u00e0 carteira ou carteira inactiva.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"errors\": {\"splits.0.wallet_split_id\": [\"O split n\u00e3o pertence a esta carteira ou n\u00e3o \u00e9 dynamic_load.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/v2\/wallets\/{wallet_id}\/c2b\/emola\/direct",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/wallets\/:wallet_id\/c2b\/emola\/direct",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/wallets\/:wallet_id\/c2b\/emola\/direct",
                            "variable": [
                                {
                                    "id": "wallet_id",
                                    "key": "wallet_id",
                                    "value": "107219",
                                    "description": "The ID of the wallet."
                                },
                                {
                                    "id": "wallet",
                                    "key": "wallet",
                                    "value": "12",
                                    "description": "ID da carteira eMola."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"msisdn\":\"841234567\",\"amount\":1000,\"reference_description\":\"Pagamento de servi\u00e7os\",\"internal_notes\":\"Pedido #9001\",\"splits\":[\"architecto\"]}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Transa\u00e7\u00e3o iniciada com sucesso\", \"clicpay_reference\": \"CPAYEMOLAC2BABCDE12345\", \"status\": \"pending\", \"transaction_id\": 789, \"split_summary\": {\"direct\": [], \"collect\": []}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"message\": \"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"errors\": {\"splits.0.value_type\": [\"O campo value_type deve ser percentage ou amount.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/v2\/wallets\/{wallet_id}\/b2c\/emola",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/wallets\/:wallet_id\/b2c\/emola",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/wallets\/:wallet_id\/b2c\/emola",
                            "variable": [
                                {
                                    "id": "wallet_id",
                                    "key": "wallet_id",
                                    "value": "107219",
                                    "description": "The ID of the wallet."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"msisdn\":\"841234567\",\"amount\":1000,\"reference_description\":\"Pagamento de servi\u00e7os\",\"internal_notes\":\"Pagamento mensal\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Transa\u00e7\u00e3o iniciada com sucesso\", \"clicpay_reference\": \"CP123456789\", \"status\": \"pending\", \"transaction_id\": 123}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"errors\": {\"msisdn\": [\"N\u00famero de telefone inv\u00e1lido\"], \"amount\": [\"Valor deve ser entre 1 e 50000\"]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"message\": \"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"Acesso negado \u00e0 carteira\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Transa\u00e7\u00f5es Mkesh",
            "description": "",
            "item": [
                {
                    "name": "POST api\/v2\/wallets\/{wallet_id}\/c2b\/mkesh",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/wallets\/:wallet_id\/c2b\/mkesh",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/wallets\/:wallet_id\/c2b\/mkesh",
                            "variable": [
                                {
                                    "id": "wallet_id",
                                    "key": "wallet_id",
                                    "value": "107219",
                                    "description": "The ID of the wallet."
                                },
                                {
                                    "id": "wallet",
                                    "key": "wallet",
                                    "value": "12",
                                    "description": "ID da carteira Mkesh."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"msisdn\":\"841234567\",\"amount\":1000,\"reference_description\":\"Pagamento de servi\u00e7os\",\"internal_notes\":\"Pedido #9001\",\"splits\":[\"architecto\"]}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Transa\u00e7\u00e3o iniciada com sucesso\", \"clicpay_reference\": \"CPAYKMESHC2BABCDE12345\", \"status\": \"pending\", \"transaction_id\": 789, \"split_summary\": {\"direct\": [], \"collect\": []}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"message\": \"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"errors\": {\"splits.0.wallet_split_id\": [\"O split n\u00e3o pertence a esta carteira ou n\u00e3o \u00e9 dynamic_load.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/v2\/wallets\/{wallet_id}\/c2b\/mkesh\/direct",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/wallets\/:wallet_id\/c2b\/mkesh\/direct",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/wallets\/:wallet_id\/c2b\/mkesh\/direct",
                            "variable": [
                                {
                                    "id": "wallet_id",
                                    "key": "wallet_id",
                                    "value": "107219",
                                    "description": "The ID of the wallet."
                                },
                                {
                                    "id": "wallet",
                                    "key": "wallet",
                                    "value": "12",
                                    "description": "ID da carteira Mkesh."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"msisdn\":\"841234567\",\"amount\":1000,\"reference_description\":\"Pagamento de servi\u00e7os\",\"internal_notes\":\"Pedido #9001\",\"splits\":[\"architecto\"]}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Transa\u00e7\u00e3o iniciada com sucesso\", \"clicpay_reference\": \"CPAYKMESHC2BABCDE12345\", \"status\": \"pending\", \"transaction_id\": 789, \"split_summary\": {\"direct\": [], \"collect\": []}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"message\": \"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"errors\": {\"splits.0.value_type\": [\"O campo value_type deve ser percentage ou amount.\"]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/v2\/wallets\/{wallet_id}\/b2c\/mkesh",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/wallets\/:wallet_id\/b2c\/mkesh",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/wallets\/:wallet_id\/b2c\/mkesh",
                            "variable": [
                                {
                                    "id": "wallet_id",
                                    "key": "wallet_id",
                                    "value": "107219",
                                    "description": "The ID of the wallet."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"msisdn\":\"841234567\",\"amount\":500,\"reference_description\":\"Compra online\",\"internal_notes\":\"Pedido #12345\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Transa\u00e7\u00e3o iniciada com sucesso\", \"clicpay_reference\": \"CP123456789\", \"status\": \"pending\", \"transaction_id\": 124}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"errors\": {\"msisdn\": [\"N\u00famero de telefone inv\u00e1lido\"], \"amount\": [\"Valor deve ser entre 1 e 50000\"]}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"message\": \"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"Acesso negado \u00e0 carteira\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Transa\u00e7\u00f5es NetShop",
            "description": "",
            "item": [
                {
                    "name": "POST api\/v2\/wallets\/{wallet_id}\/card-payment",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/wallets\/:wallet_id\/card-payment",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/wallets\/:wallet_id\/card-payment",
                            "variable": [
                                {
                                    "id": "wallet_id",
                                    "key": "wallet_id",
                                    "value": "107219",
                                    "description": "The ID of the wallet."
                                },
                                {
                                    "id": "wallet",
                                    "key": "wallet",
                                    "value": "1234",
                                    "description": "ID da carteira NetShop"
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"amount\":1500,\"reference_description\":\"Pagamento de fatura\",\"first_name\":\"Jo\u00e3o\",\"last_name\":\"Silva\",\"email\":\"QYvHk@example.com\",\"phone\":\"84 123 4567\",\"callback_url\":\"https:\\\/\\\/example.com\\\/callback\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n    \"message\": \"Sess\u00e3o criada.\",\n    \"clicpay_reference\": \"123456789\",\n    \"status\": \"pending\",\n    \"provider_reference\": \"123456789\",\n    \"provider_response_code\": \"200\",\n    \"provider_status_text\": \"Pending\",\n    \"message\": \"Sess\u00e3o criada.\",\n    \"initiated_at\": \"2023-01-01T00:00:00Z\",\n    \"completed_at\": null,\n    \"transaction_id\": 123,\n    \"checkout_url\": \"https:\/\/netshop.example.com\/checkout\/abc123\",\n    \"session_id\": \"abc123\",\n    \"success_indicator\": \"indicator123\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\": \"Erro ao criar a sess\u00e3o.\", \"clicpay_reference\": \"123456789\", \"status\": \"failed\", \"transaction_id\": 123, \"provider_response_code\": \"400\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"message\": \"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"Acesso negado \u00e0 carteira\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"errors\": {\"amount\": [\"O campo valor \u00e9 obrigat\u00f3rio.\"], \"reference_description\": [\"O campo descri\u00e7\u00e3o da refer\u00eancia \u00e9 obrigat\u00f3rio.\"]}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Estado de Transa\u00e7\u00f5es",
            "description": "",
            "item": [
                {
                    "name": "GET api\/v2\/transactions\/{clicpay_reference}\/status",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/transactions\/:clicpay_reference\/status",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/transactions\/:clicpay_reference\/status",
                            "variable": [
                                {
                                    "id": "clicpay_reference",
                                    "key": "clicpay_reference",
                                    "value": "CP123456789",
                                    "description": "Refer\u00eancia ClicPay da transa\u00e7\u00e3o."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"clicpay_reference\": \"CP123456789\", \"status\": \"successful\", \"amount\": 1000.00, \"message\": \"Transa\u00e7\u00e3o conclu\u00edda com sucesso\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"message\": \"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Transa\u00e7\u00e3o n\u00e3o encontrada\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Carteiras",
            "description": "",
            "item": [
                {
                    "name": "GET api\/v2\/me\/wallets",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/me\/wallets",
                            "query": [
                                {
                                    "key": "payment_method_id",
                                    "value": "1",
                                    "description": "optional Filtrar por m\u00e9todo de pagamento",
                                    "disabled": false
                                },
                                {
                                    "key": "is_active",
                                    "value": "1",
                                    "description": "optional Filtrar por status ativo",
                                    "disabled": false
                                },
                                {
                                    "key": "environment",
                                    "value": "production",
                                    "description": "optional Filtrar por ambiente (sandbox\/production)",
                                    "disabled": false
                                },
                                {
                                    "key": "include",
                                    "value": "paymentMethod",
                                    "description": "optional Incluir relacionamentos (ex: paymentMethod)",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_by",
                                    "value": "created_at",
                                    "description": "optional Ordenar por campo (id, name, balance, created_at)",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_order",
                                    "value": "desc",
                                    "description": "optional Ordem da ordena\u00e7\u00e3o (asc, desc)",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "20",
                                    "description": "optional Itens por p\u00e1gina (padr\u00e3o: 10)",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/v2\/me\/wallets?payment_method_id=1&is_active=1&environment=production&include=paymentMethod&sort_by=created_at&sort_order=desc&per_page=20"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"name\": \"Minha Carteira\", \"balance\": 1000.00, \"payment_method\": {\"id\": 1, \"name\": \"eMola\", \"slug\": \"emola\"}}], \"links\": {\"first\": \"...\", \"last\": \"...\", \"prev\": null, \"next\": null}, \"meta\": {\"current_page\": 1, \"from\": 1, \"last_page\": 1, \"per_page\": 20, \"to\": 1, \"total\": 1}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Autentica\u00e7\u00e3o",
            "description": "",
            "item": [
                {
                    "name": "Obter utilizador autenticado",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/user",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/user"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "access-control-allow-origin",
                                    "value": "*"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Obter token de acesso",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/me\/token",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/me\/token"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "access-control-allow-origin",
                                    "value": "*"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Transa\u00e7\u00f5es M-Pesa \u2014 B2C via Split",
            "description": "",
            "item": [
                {
                    "name": "POST api\/v2\/wallets\/{wallet_id}\/splits\/{walletSplit_id}\/b2c\/mpesa",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/wallets\/:wallet_id\/splits\/:walletSplit_id\/b2c\/mpesa",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/wallets\/:wallet_id\/splits\/:walletSplit_id\/b2c\/mpesa",
                            "variable": [
                                {
                                    "id": "wallet_id",
                                    "key": "wallet_id",
                                    "value": "107219",
                                    "description": "The ID of the wallet."
                                },
                                {
                                    "id": "walletSplit_id",
                                    "key": "walletSplit_id",
                                    "value": "100000",
                                    "description": "The ID of the walletSplit."
                                },
                                {
                                    "id": "wallet",
                                    "key": "wallet",
                                    "value": "123456",
                                    "description": "ID da carteira M-Pesa m\u00e3e."
                                },
                                {
                                    "id": "walletSplit",
                                    "key": "walletSplit",
                                    "value": "7",
                                    "description": "ID do WalletSplit."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"msisdn\":\"841234567\",\"amount\":500,\"reference_description\":\"Pagamento parceiro\",\"internal_notes\":\"Split B2C mensal\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\":\"Transa\u00e7\u00e3o iniciada com sucesso\",\"clicpay_reference\":\"CPAYMPESAB2CABCDE12345\",\"status\":\"pending\",\"transaction_id\":790,\"wallet_split_id\":7}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\":\"Este split n\u00e3o tem permiss\u00e3o para realizar transa\u00e7\u00f5es B2C.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"message\":\"Saldo insuficiente no split.\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Transa\u00e7\u00f5es Mkesh \u2014 B2C via Split",
            "description": "",
            "item": [
                {
                    "name": "POST api\/v2\/wallets\/{wallet_id}\/splits\/{walletSplit_id}\/b2c\/mkesh",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/wallets\/:wallet_id\/splits\/:walletSplit_id\/b2c\/mkesh",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/wallets\/:wallet_id\/splits\/:walletSplit_id\/b2c\/mkesh",
                            "variable": [
                                {
                                    "id": "wallet_id",
                                    "key": "wallet_id",
                                    "value": "107219",
                                    "description": "The ID of the wallet."
                                },
                                {
                                    "id": "walletSplit_id",
                                    "key": "walletSplit_id",
                                    "value": "100000",
                                    "description": "The ID of the walletSplit."
                                },
                                {
                                    "id": "wallet",
                                    "key": "wallet",
                                    "value": "123456",
                                    "description": "ID da carteira Mkesh m\u00e3e."
                                },
                                {
                                    "id": "walletSplit",
                                    "key": "walletSplit",
                                    "value": "7",
                                    "description": "ID do WalletSplit."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"msisdn\":\"841234567\",\"amount\":500,\"reference_description\":\"Pagamento parceiro\",\"internal_notes\":\"Split B2C mensal\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\":\"Transa\u00e7\u00e3o iniciada com sucesso\",\"clicpay_reference\":\"CPAYMKESHB2CABCDE12345\",\"status\":\"pending\",\"transaction_id\":791,\"wallet_split_id\":7}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\":\"Este split n\u00e3o tem permiss\u00e3o para realizar transa\u00e7\u00f5es B2C.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"message\":\"Saldo insuficiente no split.\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Transa\u00e7\u00f5es eMola \u2014 B2C via Split",
            "description": "",
            "item": [
                {
                    "name": "POST api\/v2\/wallets\/{wallet_id}\/splits\/{walletSplit_id}\/b2c\/emola",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/wallets\/:wallet_id\/splits\/:walletSplit_id\/b2c\/emola",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/wallets\/:wallet_id\/splits\/:walletSplit_id\/b2c\/emola",
                            "variable": [
                                {
                                    "id": "wallet_id",
                                    "key": "wallet_id",
                                    "value": "107219",
                                    "description": "The ID of the wallet."
                                },
                                {
                                    "id": "walletSplit_id",
                                    "key": "walletSplit_id",
                                    "value": "100000",
                                    "description": "The ID of the walletSplit."
                                },
                                {
                                    "id": "wallet",
                                    "key": "wallet",
                                    "value": "123456",
                                    "description": "ID da carteira eMola m\u00e3e."
                                },
                                {
                                    "id": "walletSplit",
                                    "key": "walletSplit",
                                    "value": "7",
                                    "description": "ID do WalletSplit."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"msisdn\":\"841234567\",\"amount\":500,\"reference_description\":\"Pagamento parceiro\",\"internal_notes\":\"Split B2C mensal\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\":\"Transa\u00e7\u00e3o iniciada com sucesso\",\"clicpay_reference\":\"CPAYEMOLAB2CABCDE12345\",\"status\":\"pending\",\"transaction_id\":789,\"wallet_split_id\":7}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\":\"Este split n\u00e3o tem permiss\u00e3o para realizar transa\u00e7\u00f5es B2C.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"message\":\"Saldo insuficiente no split.\",\"needed\":530.00,\"available\":200.00,\"missing\":330.00,\"wallet_split_id\":7}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Transa\u00e7\u00f5es \u2014 Split Collect",
            "description": "",
            "item": [
                {
                    "name": "POST api\/v2\/wallets\/{wallet_id}\/split\/collect",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/v2\/wallets\/:wallet_id\/split\/collect",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/v2\/wallets\/:wallet_id\/split\/collect",
                            "variable": [
                                {
                                    "id": "wallet_id",
                                    "key": "wallet_id",
                                    "value": "107219",
                                    "description": "The ID of the wallet."
                                },
                                {
                                    "id": "wallet",
                                    "key": "wallet",
                                    "value": "12",
                                    "description": "ID da carteira m\u00e3e."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"msisdn\":\"841234567\",\"amount\":1000,\"reference_description\":\"Pagamento de servi\u00e7os\",\"internal_notes\":\"Pedido #9001\",\"splits\":[\"architecto\"]}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Transa\u00e7\u00e3o iniciada com sucesso\", \"clicpay_reference\": \"CPAY...\", \"status\": \"pending\", \"transaction_id\": 789, \"split_summary\": {\"direct\": [], \"collect\": []}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"message\": \"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"errors\": {\"splits.0.wallet_split_id\": [\"O split n\u00e3o pertence a esta carteira ou n\u00e3o \u00e9 dynamic_load.\"]}}",
                            "name": ""
                        }
                    ]
                }
            ]
        }
    ],
    "auth": {
        "type": "bearer",
        "bearer": [
            {
                "key": "Authorization",
                "type": "string"
            }
        ]
    }
}