---
title: "Get a PayMongo Wallet transaction by attach attempt ID"
method: GET
path: "/v1/paymongo_wallet/transactions/attach_attempt/{attach_attempt_id}"
tags: ["PayMongo Wallet"]
---

# Get a PayMongo Wallet transaction by attach attempt ID

`GET /v1/paymongo_wallet/transactions/attach_attempt/{attach_attempt_id}`

## Request

- Base URL: `https://ewallets-api.paymongo.com`
- URL: `https://ewallets-api.paymongo.com/v1/paymongo_wallet/transactions/attach_attempt/{attach_attempt_id}`
- Auth: HTTP basic

Retrieves a PayMongo Wallet transaction using the idempotency key core-api supplied at attach. Lets core-api check whether an attach attempt already produced a debit.

## Path parameters

- `attach_attempt_id` string, required

## Response `200`

Successfully retrieved transaction

- object: Standard response containing data and its metadata if any
  - `data` TransactionResponseDTO: One PayMongo Wallet debit attempt. One row exists per attach attempt.
    - `amount` integer
    - `attach_attempt_id` string
    - `created_at` string
    - `currency` string
    - `destination_account_number` string
    - `failed_code` 'insufficient_funds' | 'closed_loop_violation' | 'wallet_limit_exceeded' | 'wallet_inactive'
    - `id` string
    - `link_id` string
    - `livemode` boolean
    - `organization_id` string
    - `payer_account_number` string
    - `reversal_transfer_id` string
    - `reversed_at` string
    - `succeeded_at` string
    - `transaction_status` 'pending' | 'succeeded' | 'failed' | 'reversed' | 'expired'
    - `transfer_id` string
    - `updated_at` string
  - `has_more` boolean

## Other responses

- `400`: Invalid URI parameters or validation errors
- `401`: Missing or invalid credentials
- `404`: Transaction not found
- `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)
