Updates for March, 2024
There have been some updates on Customer and Payments object and response messages. Please check the updates below.
- Merchant customer created at field.
- Installments plan in checkout session.
- Callback url for payment link.
Merchant_customer_created_at
We've added a new object to the Customer and Customer_payer object called merchant_customer_created_at
. It is a field that represents the customer´s registration date on the merchants platform (ISO 8601 MAX 27; MIN 27).
Installments Plan
We've added a new array of object to the Checkout session object called plan
. It lets you define the installments to show the customer in within the checkout_session. This optional struct is used in case a particular installments plan needs to be used in the session and does not have an installments plan created for it. If not sent, we will display the installment plan created for the account for each scenario, if any.
Name | Type | Description | Example |
---|---|---|---|
installments | struct | The object to send the installment plan created in Yuno to show your customers and let them choose from. This optional field is used in case a particular installments plan needs to be used in the session. if not sent, we will display the installment plan created for the account for each scenario, if any. | |
plan_id | string | Plan Id of the installment plan created in Yuno | 14047811d-5df9-429e-8488-ad41abea1a4b |
plan | array of objects | Installments to show the customer in with the checkout_session. This optional struct is used in case a particular installments plan needs to be used in the session and does not have an installments plan created for it. if not sent, we will display the installment plan created for the account for each scenario, if any. | |
installment | int | The number of monthly installments shoppers can choose | 3 |
rate | float | The rate that will be applied to the final amount of the transaction by the payment provider after using installments. Expressed in percentage. | 1.5 |
Both installments.plan_id
and installments.plan
are optional structs, and if defined, only one of them should be used at the same time.
Callback url
We've added a new field to the Payment link object called callback_url
. While creating the páyment link, this field lets you define the url we should redirect your customer to after making a payment (MAX 255; MIN 23).