Skip to main content
GET
/
v1
/
payments
Retrieve payment by merchant order ID
curl --request GET \
  --url https://api-sandbox.y.uno/v1/payments \
  --header 'account-code: <api-key>' \
  --header 'private-secret-key: <api-key>' \
  --header 'public-api-key: <api-key>'
[
  {
    "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "checkout_session": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "status": "SUCCEEDED",
    "amount": {
      "currency": "BRL",
      "value": 150
    },
    "country": "BR",
    "payment_method": {
      "type": "CARD"
    },
    "provider": {
      "name": "stripe_connect",
      "transaction_id": "pi_3abc123def456"
    },
    "merchant_order_id": "order-20260301-001",
    "customer_id": "cust_9a8b7c6d-5e4f-3210-abcd-ef0987654321",
    "transactions": [
      {
        "id": "txn_1a2b3c4d-5e6f-7890-abcd-ef1234567890",
        "status": "APPROVED",
        "provider": "stripe_connect",
        "provider_transaction_id": "pi_3abc123def456",
        "response_code": "00",
        "response_message": "Approved",
        "created_at": "2026-03-01T14:31:01.000Z"
      }
    ],
    "refunds": [],
    "three_ds": {
      "version": "2.2",
      "eci": "05",
      "status": "AUTHENTICATED"
    },
    "metadata": {
      "order_source": "web",
      "campaign": "spring-2026"
    },
    "installments": null,
    "failure_reason": null,
    "created_at": "2026-03-01T14:31:00.000Z",
    "updated_at": "2026-03-01T14:31:02.000Z"
  }
]
This request enables you to retrieve details of payments based on their merchant_order_id, which needs to be provided in the request path.

Authorizations

public-api-key
string
header
required

Your public API key from the Yuno Dashboard

private-secret-key
string
header
required

Your private secret key (server-side only)

account-code
string
header
required

Your account identifier. The alias X-Account-Code is also accepted.

Query Parameters

merchant_order_id
string
required

Your merchant order ID used when creating the payment

Response

200 - application/json

List of payments

id
string<uuid>

Unique payment identifier

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

checkout_session
string<uuid>
Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

status
enum<string>

Current payment status

Available options:
SUCCEEDED,
PENDING,
DECLINED,
REJECTED,
CANCELLED,
REFUNDED,
PARTIALLY_REFUNDED,
AUTHORIZED
Example:

"SUCCEEDED"

amount
object
Example:
{ "currency": "BRL", "value": 100 }
country
string
Example:

"BR"

payment_method
object
provider
object
merchant_order_id
string
Example:

"order-20260301-001"

created_at
string<date-time>
Example:

"2026-03-01T14:31:00.000Z"

updated_at
string<date-time>
Example:

"2026-03-01T14:31:02.000Z"

transactions
object[]

Individual processing attempts for this payment

refunds
object[]

Refund records associated with this payment

three_ds
object

3DS authentication details, present for card payments

metadata
object

Custom key-value pairs set by the merchant

failure_reason
object

Decline details when status is DECLINED or REJECTED

customer_id
string<uuid>

ID of the associated customer record

installments
object

Installment details if payment was split into installments