Create Payment Link
Creates a shareable payment link for collecting a payment from a customer
Authorizations
Body
The unique identifier of the account. You find this information on the Yuno Dashboard (MAX 64; MIN 36).
The customer's country code (MAX 2; MIN 2; ISO 3166-1) [Required].
AR, BO, BR, CL, CO, CR, EC, SV, GT, HN, MX, NI, PA, PY, PE, US, UY Specifies the payment amount object, with the value and currency.
The list of types of payment methods that customers can use. Check the available payment methods on Payment type. If no value is passed, Yuno will display the payment methods defined in the dashboard.
The description of the payment link (MAX 255; MIN 3).
Identification of the payment link transaction defined by the merchant (MAX 255; MIN 3).
Decides whether to authorize the payment or capture it. Authorizing a card payment allows you to reserve funds in a customer's bank account. If not set, true by default.
The type of the payment link.
The status of the payment link.
Payment method object (optional).
Installments plan configuration (optional).
Timezone for availability (e.g., UTC +03:00).
Number of payments associated with this link.
Allow split payment methods.
Specifies the payment taxes list.
The Stripe invoice this payment link pays. When the customer pays, Yuno checks the invoice: it must be open, the link amount must equal the amount remaining on the invoice, in the same currency, and the customer must be the invoice's when customer_id is sent. If the check fails, nothing is charged and the link is cancelled. Cannot be sent with subscription or a non-empty taxes list (400 INVALID_REQUEST) and cannot be changed after creation. See Pay a Stripe invoice (top-ups).
Specifies customer object for payments.
Specifies the additional_data object. This object is not mandatory. However, if you send this information, the payment experience will be enhanced for your user.
URL to redirect the customer after the payment (MAX 256).
true allows only one use, false multiple payments
The availability object. Refers to the Payment Link expiration date.
Specifies a list of metadata objects. You can add up to 50 metadata objects.
Flag to enroll the card after a successful payment
Response
201
"555933df-4eed-4af4-ae83-a32072ef34af"
"US"
"CREATED"
"AA01"
"Test"
true
false
false
"https://checkout.sandbox.y.uno/payment/status"
The Stripe invoice this payment link pays, as it was sent when the link was created. The key is absent on links created without it.
"493e9374-510a-4201-9e09-de669d75f256"
"https://checkout.sandbox.y.uno/payment?session=2f6d9754-43d0-4dca-b023-6aba4b107179"
0
""