---
title: "Read a test-mode attachment as the authentication page sees it"
method: GET
path: "/v1/test-authentication/attachments/{attach_attempt_id}"
tags: ["Test Authentication"]
---

# Read a test-mode attachment as the authentication page sees it

`GET /v1/test-authentication/attachments/{attach_attempt_id}`

## Request

- Base URL: `https://ewallets-api.paymongo.com`
- URL: `https://ewallets-api.paymongo.com/v1/test-authentication/attachments/{attach_attempt_id}`
- Auth: HTTP bearer

For test-authentication-web. Answers pending while the payer's choice is awaited, and succeeded or failed once it is known (the page's answer, or the recorded outcome), so the page can decide between showing its picker and sending the payer on. Test mode only: a live attempt is 404. The token names no account and no mode.

## Path parameters

- `attach_attempt_id` string, required

## Response `200`

OK

- object: Standard response containing data and its metadata if any
  - `data` TestAuthenticationAttachmentDTO: A test-mode attachment as the authentication page sees it
    - `attach_attempt_id` string
    - `status` 'pending' | 'succeeded' | 'failed'
  - `has_more` boolean

## Other responses

- `401`: Missing or invalid service token
- `404`: not_found: no test-mode attachment for that attempt
- `500`: Internal server error

---

[API](https://skmtc.dev/paymongo/apis/ewallets.md) - [All operations](https://skmtc.dev/paymongo/apis/ewallets/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/ewallets/revisions/a445ca65c132?raw)
