Skip to Content

Retrieve Payment

Retrieves a payment, including its status, amount, and transaction details

GET/payments/{paymentId}

This endpoint retrieves a single Stedi Treasury payment, including its status, amount, transaction details, and the date and time it reached each status.

  1. Call this endpoint with the paymentId of the payment you want to retrieve. You can get the payment ID from the id property in List Payments responses.
  2. The endpoint returns the payment's details.
Authorization
RequiredHeader

A Stedi API Key for authentication.

Path Parameters

paymentId
StringRegex pattern: ^[a-z]{3,5}_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

The unique identifier for the payment you want to retrieve, in the format pay_ followed by a UUID. You can retrieve payment IDs with the List Payments endpoint.

Response

application/json
amount
StringRequiredRegex pattern: ^-?\d+\.\d{2}$

The payment amount as a decimal string, such as 1250.00.

audit
ObjectRequired

The date and time the payment reached each status.

Show attributes
billingEntityId
StringRequiredRegex pattern: ^[a-z]{3,5}_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

The identifier of the billing entity that received this payment.

The name of the company that sent the payment, when available.

createdAt
StringRequiredFormat: date-time

The date and time Stedi created the payment record. For example, 2026-04-04T12:00:00Z.

The payment description, such as HCCLAIMPMT, when available.

id
StringRequiredRegex pattern: ^[a-z]{3,5}_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

The payment's identifier, in the format pay_ followed by a UUID. For example, pay_9f8e7d6c-5b4a-4c3d-8e2f-1a0b9c8d7e6f.

payer
Object

The payer that sent the payment. Absent for check payments, and when Stedi can't match the payment to a single payer.

Show attributes
payoutCount
NumberRequiredRange: ≥ 0

The number of payouts linked to this payment, across all payout statuses. Use ListPayouts with paymentId to retrieve them. Payments that haven't settled and VERIFICATION payments have 0. This is 0 until the payment's payout is created, so a SETTLED payment can briefly have 0.

The reassociation trace number. It matches the trace number in the payment's 835 Electronic Remittance Advice (ERA), so you can use it to match the payment to its ERA. For check payments, this is the check number.

In the ERA, the trace number is in:

The reassociation trace segment, as it appears in the payment's 835 ERA, such as TRN*1*REASSO456*1234567890~. Absent for check payments.

In the ERA, the segment is in:

status
StringRequired

The payment's status. Can be:

  • PENDING: Your Stedi Treasury account received the inbound ACH transfer or check deposit and is waiting for the funds to settle.
  • SETTLED: Your Stedi Treasury account received the inbound transfer or check deposit, and the funds are available.
  • FAILED: The bank returned, rejected, or canceled the transfer. This status can occur at any point in the payment lifecycle.
Possible values
FAILED
PENDING
SETTLED
transaction
ObjectRequired

Transaction details for this payment. Contains exactly one of the following:

  • ach: Details for an Electronic Funds Transfer (EFT), which payers send through the Automated Clearing House (ACH) network.
  • check: Details for a check deposit.
2 variants:
ach
transaction.ach
ObjectRequired

Details for an Electronic Funds Transfer (EFT), which payers send through the Automated Clearing House (ACH) network.

Show attributes
transactionPurpose
StringRequired

Whether the transaction is a payment (PAYMENT) or a bank verification transaction (VERIFICATION).

Possible values
PAYMENT
VERIFICATION
updatedAt
StringRequiredFormat: date-time

The date and time Stedi last updated the payment record. For example, 2026-04-04T14:30:00Z.