Skip to main content
GET
Retrieve Payment (v2)
This request retrieves a payment created with Create Payment (two cards), using the id in the request path. The base URL is https://api-sandbox.y.uno/v2 in sandbox https://api.y.uno/v2 in production (US) and https://api.eu.y.uno/v2 in production (EMEA). The response has split_payment_methods: true, payment_methods_count: 2 and one entry per card in payment_method.payment_methods, each with its sequence (1 or 2), type, amount and transactions. A card has no status of its own: read each card’s outcome from its transactions, and the payment outcome from the payment-level status and sub_status. See Pay with two cards.
For a payment created with POST /v1/payments, use the v1 request GET /v1/payments/{payment_id}. The v1 response shows a payment as a whole, not each card.

Authorizations

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

Path Parameters

payment_id
string<uuid>
required

The id of the payment returned by POST /v2/payments.

Response

The payment

A payment funded by two cards.

id
string<uuid>
account_id
string<uuid>
description
string
country
string
status
string

Aggregated status of the payment. See Pay with two cards.

sub_status
string

Aggregated sub status, for example APPROVED, AUTHORIZED, PARTIALLY_CAPTURED, PARTIALLY_REFUNDED, REFUND_RETRY_IN_PROCESS or CANCEL_RETRY_IN_PROCESS.

merchant_order_id
string
merchant_reference
string
created_at
string<date-time>
updated_at
string<date-time>
split_payment_methods
boolean

true for a payment funded by two cards.

payment_methods_count
integer

Number of cards that fund the payment: 2.

sdk_action_required
boolean

true when the SDK must continue the payment, for example to run a 3DS challenge.

amount
object

Total of the payment.

checkout
object
payment_method
object
customer_payer
object

The payer, as sent in the request.

additional_data
object | null
callback_url
string
workflow
enum<string>
Available options:
DIRECT,
REDIRECT,
SDK_CHECKOUT
metadata
object[]