---
title: "GET /api/payments/{id}"
method: GET
path: "/api/payments/{id}"
tags: ["api", "payments"]
---

# GET /api/payments/{id}

`GET /api/payments/{id}`

Get a Payment

## Path parameters

- `id` string, required — The ID of the payment

## Response `200`

OK

- PaymentResource
  - `_id` string, required — The ID of the payment
  - `amount` number, required — The amount of the payment
  - `currency` 'EUR' | 'USD' | 'GBP' | 'AUD' | 'CHF' | 'THB' | 'ILS' | 'COP' | 'MXN' | 'DKK' | 'NOK' | 'SEK' | 'QAR' | 'CAD' | 'ISK' | 'GTQ' | 'INR' | 'DOP' | 'SGD' | 'PLN' | 'SAR' | 'TTD' | 'ZAR' | 'KYD' | 'HKD' | 'CZK' | 'KRW' | 'JPY' | 'NZD' | 'AED' | 'MAD' | 'TWD' | 'BRL' | 'BWP' | 'NAD' | 'KES' | 'SCR' | 'TRY' | 'SZL' | 'LSL' | 'TZS' | 'UGX' | 'ZMW' | 'ZWG' | 'GHS' | 'NGN' | 'SLE' | 'LRD' | 'XOF' | 'XAF' | 'GEL' | 'IDR' | 'ARS' | 'CRC' | 'HUF' | 'EGP' | 'MYR' | 'VND' | 'PHP' | 'MWK', required — An ISO 4217 3-character code of the currency
  - `status` 'SCHEDULED' | 'PENDING' | 'SUCCEEDED' | 'FAILED' | 'REFUNDED', required — The status of the payment
  - `checkoutId` string — The ID of the checkout the payment belongs to
  - `transactionId` string — The ID of the transaction the payment belongs to
  - `paymentRequestId` string, required — The ID of the payment request the payment belongs to
  - `paymentGatewayId` string — The ID of the payment gateway responsible for the payment
  - `paymentMethodDetails` PaymentMethodDetailsResource
    - `type` 'visa' | 'mc' | 'sepadirectdebit' | 'amex' | 'sofort' | 'klarna' | 'ideal' | 'giropay' | 'paypal' | 'local' | 'discover' | 'custom' | 'twint' | 'postfinance' | 'blik' | 'p24' | 'affirm' | 'dankort' | 'eps' | 'mobilepay' | 'payconiq' | 'bancontact' | 'payfast' | 'distributor' | 'marketplace' | 'cartebancaire' | 'paymentplan' | 'bizum' | 'afterpay' | 'zip' | 'ach' | 'paybybank' | 'link' | 'alipay' | 'wechatpay' | 'pix' | 'eftpos' | 'revolutpay' | 'wero' | 'scalapay' | 'vipps' | 'cashapppay' | 'crypto' | 'customerbalance' | 'unknown' | 'none', required — The type of the payment method
    - `variant` 'applepay' | 'googlepay' — The variant of the payment method
    - `attributes` object — The attributes of the payment method
  - `reference` string — The reference of the payment
  - `sellerId` string, required — The ID of the seller owning the payment
  - `customerId` string — The ID of the customer of the payment
  - `createdAt` string, date-time, required — An ISO timestamp indicating when the payment was created
  - `updatedAt` string, date-time, required — An ISO timestamp indicating when the payment was last updated

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.net/vivenu/apis/vivenu-api.md) · [All operations](https://skmtc.net/vivenu/apis/vivenu-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vivenu/vivenu-api/revisions/36be0dca14e7/schema)
