Sandbox Validated API
Live-tested endpoints validated against sandbox with Newman.
cURL
curl --request POST \ --url https://api-sandbox.y.uno/v1/payments/{payment_id}/transactions/{transaction_id}/cancel \ --header 'Content-Type: application/json' \ --header 'X-Idempotency-Key: <x-idempotency-key>' \ --data ' { "merchant_reference": "cancel-001", "description": "Order cancelled by customer", "reason": "REQUESTED_BY_CUSTOMER" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "<string>", "type": "PURCHASE", "amount": { "currency": "<string>", "value": 123 }, "created_at": "2023-11-07T05:31:56Z" }
Cancels an authorized (not yet captured) payment, releasing the held funds.
Unique UUID per request. Prevents duplicate processing on retries.
3 - 255
DUPLICATE
FRAUDULENT
REQUESTED_BY_CUSTOMER
Payment cancelled
PURCHASE
CAPTURE
CANCEL
REFUND
VERIFY
Show child attributes
Was this page helpful?
Contact support