Retrieve Payment (two cards)
Retrieves a payment funded by two cards, with the amount and transactions of each card, from GET /v2/payments/.
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.
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
Path Parameters
The id of the payment returned by POST /v2/payments.
Response
The payment
A payment funded by two cards.
Aggregated status of the payment. See Pay with two cards.
Aggregated sub status, for example APPROVED, AUTHORIZED, PARTIALLY_CAPTURED, PARTIALLY_REFUNDED, REFUND_RETRY_IN_PROCESS or CANCEL_RETRY_IN_PROCESS.
true for a payment funded by two cards.
Number of cards that fund the payment: 2.
true when the SDK must continue the payment, for example to run a 3DS challenge.
Total of the payment.
The payer, as sent in the request.
DIRECT, REDIRECT, SDK_CHECKOUT