{
    "item": [
        {
            "name": "Troubleshooting",
            "description": "",
            "item": [
                {
                    "id": "1ebae42e-2b27-4874-ac63-8df26cf8a08f",
                    "name": "Trace a deposit by rail reference",
                    "request": {
                        "name": "Trace a deposit by rail reference",
                        "description": {
                            "content": "Traces an incoming deposit to one of your virtual accounts by the reference on the payer's receipt, and tells you what happened to it: credited, still pending, rejected, expired, or settled on the payment rail but never credited.\n\nThe reference is the rail's own identifier for the transfer:\n\n- **BRL** — the Pix end-to-end ID, a 32-character code starting with `E`.\n- **ARS** — the Coelsa transfer ID.\n\nPix end-to-end IDs are often transcribed by hand, where the letter `O` and the digit `0` are easily confused, so for **BRL** those variations are tried as well. When the match came from a corrected reference, `typo_corrected` is `true` and `matched_reference` holds the reference that actually matched. Coelsa IDs are matched exactly, so for **ARS** `typo_corrected` is always `false`.\n\nThe lookup is read-only and scoped to the authenticated company and its sub-companies.",
                            "type": "text/plain"
                        },
                        "url": {
                            "path": [
                                "deposits",
                                ""
                            ],
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "query": [
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "(Required) Rail of the deposit, which decides how `reference` is read.\n\n- `BRL` — Pix; the reference is the end-to-end ID.\n- `ARS` — Transferencias 3.0; the reference is the Coelsa transfer ID. (This can only be one of BRL,ARS)",
                                        "type": "text/plain"
                                    },
                                    "key": "currency",
                                    "value": "ARS"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "(Required) The rail reference of the transfer, as shown on the payer's receipt.",
                                        "type": "text/plain"
                                    },
                                    "key": "reference",
                                    "value": "<string>"
                                }
                            ],
                            "variable": []
                        },
                        "header": [
                            {
                                "disabled": false,
                                "description": {
                                    "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                    "type": "text/plain"
                                },
                                "key": "x-company-id",
                                "value": "<integer>"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "method": "GET",
                        "body": {},
                        "auth": {
                            "type": "basic",
                            "basic": [
                                {
                                    "key": "username",
                                    "value": "{{basicAuthUsername}}"
                                },
                                {
                                    "key": "password",
                                    "value": "{{basicAuthPassword}}"
                                }
                            ]
                        }
                    },
                    "response": [
                        {
                            "id": "84515fda-47d8-4688-a7f6-3ff38982880f",
                            "name": "The lookup resolved; branch on `data.result`.",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "deposits",
                                        ""
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) Rail of the deposit, which decides how `reference` is read.\n\n- `BRL` — Pix; the reference is the end-to-end ID.\n- `ARS` — Transferencias 3.0; the reference is the Coelsa transfer ID. (This can only be one of BRL,ARS)",
                                                "type": "text/plain"
                                            },
                                            "key": "currency",
                                            "value": "ARS"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The rail reference of the transfer, as shown on the payer's receipt.",
                                                "type": "text/plain"
                                            },
                                            "key": "reference",
                                            "value": "<string>"
                                        }
                                    ],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "disabled": false,
                                        "description": {
                                            "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                            "type": "text/plain"
                                        },
                                        "key": "x-company-id",
                                        "value": "<integer>"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "OK",
                            "code": 200,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"data\": {\n    \"currency\": \"ARS\",\n    \"reference\": \"<string>\",\n    \"matched_reference\": \"<string>\",\n    \"typo_corrected\": \"<boolean>\",\n    \"result\": \"LOOKUP_FAILED\",\n    \"reason\": \"<string>\",\n    \"description\": \"<string>\",\n    \"amount\": \"<number>\",\n    \"sender\": {\n      \"full_name\": \"<string>\",\n      \"document_number\": \"<string>\",\n      \"bank_code\": \"<string>\",\n      \"bank_name\": \"<string>\",\n      \"account_number\": \"<string>\"\n    },\n    \"rail_date\": \"<dateTime>\",\n    \"expires_at\": \"<dateTime>\",\n    \"movement\": {\n      \"id\": \"<string>\",\n      \"account_id\": \"<string>\",\n      \"amount\": \"<number>\",\n      \"currency\": \"<string>\",\n      \"created_at\": \"<dateTime>\"\n    }\n  },\n  \"status\": \"success\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "639a0261-2e9d-45d5-be5d-7158f89c89d1",
                            "name": "The reference is not valid for the rail, or the currency is not enabled for the company.",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "deposits",
                                        ""
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) Rail of the deposit, which decides how `reference` is read.\n\n- `BRL` — Pix; the reference is the end-to-end ID.\n- `ARS` — Transferencias 3.0; the reference is the Coelsa transfer ID. (This can only be one of BRL,ARS)",
                                                "type": "text/plain"
                                            },
                                            "key": "currency",
                                            "value": "ARS"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The rail reference of the transfer, as shown on the payer's receipt.",
                                                "type": "text/plain"
                                            },
                                            "key": "reference",
                                            "value": "<string>"
                                        }
                                    ],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "disabled": false,
                                        "description": {
                                            "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                            "type": "text/plain"
                                        },
                                        "key": "x-company-id",
                                        "value": "<integer>"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "Bad Request",
                            "code": 400,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"message\": \"<string>\",\n  \"status\": \"error\",\n  \"error_code\": \"<string>\",\n  \"trace_id\": \"<string>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "8b896779-ad79-4a97-b3ac-fd8aa3dc7879",
                            "name": "Invalid credentials.",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "deposits",
                                        ""
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) Rail of the deposit, which decides how `reference` is read.\n\n- `BRL` — Pix; the reference is the end-to-end ID.\n- `ARS` — Transferencias 3.0; the reference is the Coelsa transfer ID. (This can only be one of BRL,ARS)",
                                                "type": "text/plain"
                                            },
                                            "key": "currency",
                                            "value": "ARS"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The rail reference of the transfer, as shown on the payer's receipt.",
                                                "type": "text/plain"
                                            },
                                            "key": "reference",
                                            "value": "<string>"
                                        }
                                    ],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "disabled": false,
                                        "description": {
                                            "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                            "type": "text/plain"
                                        },
                                        "key": "x-company-id",
                                        "value": "<integer>"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "Unauthorized",
                            "code": 401,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"message\": \"<string>\",\n  \"status\": \"error\",\n  \"error_code\": \"<string>\",\n  \"trace_id\": \"<string>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "f7a9552f-fc9e-4813-af34-46746164a57f",
                            "name": "No record of the reference, on our side or on the rail.",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "deposits",
                                        ""
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) Rail of the deposit, which decides how `reference` is read.\n\n- `BRL` — Pix; the reference is the end-to-end ID.\n- `ARS` — Transferencias 3.0; the reference is the Coelsa transfer ID. (This can only be one of BRL,ARS)",
                                                "type": "text/plain"
                                            },
                                            "key": "currency",
                                            "value": "ARS"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The rail reference of the transfer, as shown on the payer's receipt.",
                                                "type": "text/plain"
                                            },
                                            "key": "reference",
                                            "value": "<string>"
                                        }
                                    ],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "disabled": false,
                                        "description": {
                                            "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                            "type": "text/plain"
                                        },
                                        "key": "x-company-id",
                                        "value": "<integer>"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "Not Found",
                            "code": 404,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"message\": \"<string>\",\n  \"status\": \"error\",\n  \"error_code\": \"<string>\",\n  \"trace_id\": \"<string>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "e0683226-82f8-4c7e-adbf-8bd9ee6c8054",
                            "name": "Validation Error",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "deposits",
                                        ""
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) Rail of the deposit, which decides how `reference` is read.\n\n- `BRL` — Pix; the reference is the end-to-end ID.\n- `ARS` — Transferencias 3.0; the reference is the Coelsa transfer ID. (This can only be one of BRL,ARS)",
                                                "type": "text/plain"
                                            },
                                            "key": "currency",
                                            "value": "ARS"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The rail reference of the transfer, as shown on the payer's receipt.",
                                                "type": "text/plain"
                                            },
                                            "key": "reference",
                                            "value": "<string>"
                                        }
                                    ],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "disabled": false,
                                        "description": {
                                            "content": "ID of a child company for authentication. If not provided, the parent company will be authenticated.",
                                            "type": "text/plain"
                                        },
                                        "key": "x-company-id",
                                        "value": "<integer>"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                            "code": 422,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        }
                    ],
                    "event": [],
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    }
                }
            ]
        }
    ],
    "event": [],
    "variable": [
        {
            "key": "baseUrl",
            "value": "https://app2test.infiniaweb.com/infinia_api/v1/troubleshooting"
        }
    ],
    "info": {
        "_postman_id": "a072d4ef-2b91-4273-899e-b40ded2e55d5",
        "name": "Troubleshooting",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
        "description": {
            "content": "Read-only lookups that trace transfers by their payment-rail reference.",
            "type": "text/plain"
        }
    }
}