---
title: "Get order payment methods"
method: GET
path: "/orders/{orderId}/payment-methods"
tags: ["orders"]
---

# Get order payment methods

`GET /orders/{orderId}/payment-methods`

## Request

- Base URL: `https://api.namefi.io/v-next`
- URL: `https://api.namefi.io/v-next/orders/{orderId}/payment-methods`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Retrieve payment method details for an order, including card info for Stripe payments and wallet addresses for on-chain payments.

## Path parameters

- `orderId` string, required

## Headers

- `x-namefi-eip7702-account` string
- `x-namefi-eip1271-account` string
- `x-namefi-erc1271-account` string

## Response `200`

OK

- union[]
  - union
    - object
      - `paymentId` string, required
      - `isOnChainPayment` unknown, required
      - `isX402Payment` unknown, required
      - `network` string, required
      - `buyerWalletAddress` string, required
      - `receiverWalletAddress` string
      - `settlementTxHash` string, nullable
    - object
      - `paymentId` string, required
      - `isMppPayment` unknown, required
      - `method` 'stripe' | 'tempo', required
      - `isOnChainPayment` boolean, required
      - `payerWalletAddress` string
      - `reference` string, nullable
      - `brand` string
      - `last4` string
    - object
      - `paymentId` string, required
      - `isOnChainPayment` unknown, required
      - `txHash` string, nullable
      - `chainId` number, required
      - `walletAddress` string, required
    - object
      - `paymentId` string, required
      - `isOnChainPayment` unknown, required
      - `brand` string
      - `last4` string
      - `stripePaymentMethodType` string
      - `stripeCryptoDetails` object
        - `network` string
        - `tokenCurrency` string
        - `walletAddress` string
        - `txHash` string

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `403`: 403
- `404`: 404
- `406`: 406
- `408`: 408
- `409`: 409
- `412`: 412
- `429`: 429
- `500`: 500

---

[API](https://skmtc.dev/namefi/apis/namefi-api.md) · [All operations](https://skmtc.dev/namefi/apis/namefi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/namefi/apis/namefi-api/revisions/3c7c3ade95c9?raw)
