---
title: "Get Payment By Nonce"
method: GET
path: "/v1/payments/{accountId}/nonce/{nonce}"
tags: ["Payments"]
---

# Get Payment By Nonce

`GET /v1/payments/{accountId}/nonce/{nonce}`

## Request

- Base URL: `https://api.bcb.group`
- URL: `https://api.bcb.group/v1/payments/{accountId}/nonce/{nonce}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bcb/apis/payments-api/docs/v1/payments/:accountId/nonce/:nonce/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the details of a single payment for a given account and nonce

## Path parameters

- `accountId` integer, required
- `nonce` string, required

## Response `200`

The payment was retrieved successfully

- GetPaymentResponse
  - `transactionId` string, required: The transaction id of the payment
  - `endToEndId` string, required: The end to end id of the payment
  - `nonce` string, required: The nonce provided when initiating the payment as a technical dupe check and external reference id
  - `status` 'Received' | 'Initiated' | 'Cancelled' | 'Pending' | 'Processing' | 'Rejected' | 'Settled' | 'VopHeld', required: The current status of the payment
  - `currency` string, required: The instructed currency of the payment
  - `amount` string, required: The instructed amount of the payment
  - `rejectReason` string: The reject reason for the payment. Only populated if the payment has been rejected, otherwise undefined

## Other responses

- `401`: Unauthorized
- `404`: No payment was found for the account with the given nonce

---

[API](https://skmtc.dev/bcb/apis/payments-api.md) - [All operations](https://skmtc.dev/bcb/apis/payments-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bcb/apis/payments-api/revisions/5b9085573809?raw)
