---
title: "Get a Payment Method Import"
method: GET
path: "/payment_method_imports/{id}"
tags: ["Payment Method Imports"]
---

# Get a Payment Method Import

`GET /payment_method_imports/{id}`

## Request

- Base URL: `https://api.justifi.ai/v1`
- URL: `https://api.justifi.ai/v1/payment_method_imports/{id}`
- Auth: none declared. Required headers: `Authorization`
- TypeScript: <https://skmtc.dev/justifi/apis/justifi-api-documentation/docs/payment_method_imports/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a payment method import. The response does not include the payment methods it tokenized; list them with
[List Payment Methods](https://docs.justifi.tech/api-spec#tag/Payment-Methods/operation/ListPaymentMethods)
filtered by `payment_method_import_id`.

## Path parameters

- `id` string, uuid, required

## Headers

- `Authorization` string, required

## Response `200`

Successfully get a payment method import

- object
  - `id` string, uuid: the object id, also found in the data object
  - `type` string: the object type, or array of objects
  - `data` object: the attributes for the object
    - `id` string: unique id of the payment method import
    - `error_code` 'missing_required_headers' | 'invalid_file' | 'internal_error', nullable: why the import failed. Only present once status is failed. - `missing_required_headers`: the file is missing columns the provider requires - `invalid_file`: the file could not be read as CSV or JSON, or is not UTF-8 - `internal_error`: any other failure; contact support
    - `provider` 'authorize_net' | 'braintree' | 'datacap' | 'ez_facility' | 'mind_body' | 'neon_pay' | 'paragon' | 'paya' | 'stripe': the processor the payment methods were migrated from
    - `status` 'created' | 'processing' | 'successful' | 'failed': current status of the import
    - `report_file_path` string, nullable: key of the row-by-row results file, written once processing finishes
    - `report_file_url` string, nullable: presigned URL to download report_file_path, valid for 15 minutes. Only present once status is successful
    - `account_id` string: sub account the imported payment methods belong to
    - `platform_account_id` string: platform account that owns the sub account
    - `retry_of_payment_method_import_id` string, nullable: id of the import this one retries, if any
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `page_info` unknown

---

[API](https://skmtc.dev/justifi/apis/justifi-api-documentation.md) - [All operations](https://skmtc.dev/justifi/apis/justifi-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/justifi/apis/justifi-api-documentation/revisions/dd9f3fed7e46?raw)
