Skip to main content
GET
Retrieve Payment by Merchant Order ID
This request enables you to retrieve details of payments based on their merchant_order_id, which needs to be provided in the request path.
transactions in this response is an array containing every transaction of the payment. In webhook payloads the same field name carries a single object — the transaction that triggered the event — with the full list under transactions_history. See Webhook object and examples.

Authorizations

public-api-key
string
header
default:<Your public-api-key>
required
private-secret-key
string
header
default:<Your private-secret-key>
required

Query Parameters

merchant_order_id
string
required

The unique identifier of the customer's order.

Response

200

id
string
Example:

"e3f397ed-b7d0-4816-ab75-8457b0a30ec1"

account_id
string
Example:

"493e9374-510a-4201-9e09-de669d75f256"

description
string
Example:

"Test Bank of America"

country
string
Example:

"US"

status
string
Example:

"READY_TO_PAY"

sub_status
string
Example:

"CREATED"

merchant_order_id
string
Example:

"0000022"

created_at
string
Example:

"2023-07-20T17:24:58.900553Z"

updated_at
string
Example:

"2023-07-20T17:25:13.447662Z"

amount
object
discount_amount
object

The total discount of the Yuno promotion applied to the payment: the sum of the YUNO_PROMOTION lines of additional_data.order.discounts. Absent when no promotion applied. The amount charged is amount.value minus this value, and it is on transactions.amount. See Promotions.

checkout
object
payment_method
object
customer_payer
object
additional_data
any
taxes
any
transactions
object[]
split
array
callback_url
string
Example:

"https://y.uno/?checkoutSession=954dc216-60ff-4ae4-a299-c603b93bd267"

workflow
string
Example:

"SDK_CHECKOUT"

metadata
array
plan_id
string

The subscription's plan when this payment was created. Present only on payments created with subscription.plan_id and on their renewals; absent otherwise.

plan_assigned_at
string<date-time>

When the plan was assigned to the subscription (UTC, ISO 8601). Present only on payments that carry plan_id.