Example:200
Get payment link
Returns the details of a payment link.
Path parameters
paymentLinkIdstringrequired
Responses
200Returns the details of a payment link.
Returns the details of a payment link.
Content typeapplication/jsonobject
statusCodeintegerdataobjectShow child attributesHide child attributes
businessobjectShow child attributesHide child attributes
idstringnamestring
checkoutobjectCheckout template used by the payment link.
Show child attributesHide child attributes
idstringnamestringthemestringcolorstringacceptCorporationBuyerbooleanacceptNaturalPersonBuyerbooleanbilletobjectShow child attributesHide child attributes
dueDateDelayinteger
creditCardobjectShow child attributesHide child attributes
defaultInstallmentsintegermaxInstallmentsinteger
pixobjectShow child attributesHide child attributes
expirationInMinutesinteger
requestAddressbooleanrequestDeliveryAddressbooleanshowSellerNameboolean
imageobjectShow child attributesHide child attributes
namestringnullablepathstringnullableurlstringnullableisPublicbooleannullableextensionstringnullable
namestringdescriptionstringstatusstringvalueInCentsintegerunpublishedAtstringnullablepublishedAtstringnullabledistUrlstringsupportedPaymentMethodsarray of stringsnullablePayment methods that the payment link presents.
nullmeans that all payment methods are presented.subscriptionobjectnullableRecurrence terms of the payment link.
nullwhen the payment link charges once.retryisnullwhen the default retry applies.Show child attributesHide child attributes
periodicitystringrequiredInterval between recurrences.
repeatIndefinitelybooleanrequiredWhen
true, the subscription has no end andnumberRecurrencesmust be omitted,nullor0.numberRecurrencesintegernullableTotal number of recurrences, the first one included. Required, as an integer from 1 to 1200, when
repeatIndefinitelyisfalse. WhenrepeatIndefinitelyistrue, omit it or sendnullor0. In responses, it is0whenrepeatIndefinitelyistrue.retryobjectnullableHow Easyflow retries a failed recurrence. When omitted or
null, it makes 5 attempts every 3 days. When sent as an object, both fields are required.Show child attributesHide child attributes
retriesMaxNumberintegerrequiredMaximum number of attempts, from 1 to 10.
intervalInDaysintegerrequiredDays between attempts, from 1 to 15.
thereWasASalebooleantruewhen the payment link already has a sale.advancedobjectShow child attributesHide child attributes
redirectobjectRedirect shown to the buyer after the payment.
Show child attributesHide child attributes
urlstringbuttonNamestringdelayInSecondsintegernullable
preferenceobjectData that the checkout of the payment link asks from the buyer.
Show child attributesHide child attributes
acceptNaturalPersonBuyerbooleanacceptCorporationBuyerbooleanrequestAddressbooleanrequestDeliveryAddressbooleanrequireEmailReentrybooleandisableCouponFormboolean
paymentConfigurationobjectShow child attributesHide child attributes
billetobjectShow child attributesHide child attributes
dueDateDelayinteger
pixobjectShow child attributesHide child attributes
expirationInMinutesinteger
creditCardobjectShow child attributesHide child attributes
defaultInstallmentsintegermaxInstallmentsintegerinvoiceDescriptionstringinstallmentOptionsarray of objectsShow child attributesHide child attributes
installmentsintegerinstallmentValueInCentsintegernullableinterestRateintegernullable
supportContactobjectSupport contact shown to the buyer.
Show child attributesHide child attributes
idstringnamestringemailstringvalidatedboolean
createdAtstring · date-timeupdatedAtstring · date-timepemittedSellbooleanThe field name is spelled this way in the API.
interestSettingsobjectShow child attributesHide child attributes
sellerAbsorbsInterestbooleanrequiredWhen
true, the seller absorbs the installment interest and every installment option has an interest rate of 0.
pricesByPaymentMethodarray of objectsOne-time price of the payment link for each payment method present in
paymentConfiguration(pix,billetandcreditCard, in this order), with the transferred fees included.valueInCentsstays the value without them. The list followspaymentConfiguration, notsupportedPaymentMethods, so it can bring a method thatsupportedPaymentMethodsdoes not accept.Show child attributesHide child attributes
paymentMethodstringpriceInCentsintegertaxTransferInCentsinteger
400If the provided parameter is invalid, the API will return the following error response:
If the provided parameter is invalid, the API will return the following error response:
Content typeapplication/jsonobject
messagestringInvalid param: []
errorstringBad Request
statusCodeinteger400
errorCodestringCode that identifies the error. Present only on some errors.
401If the request is unauthorized, the API will return the following error response:
If the request is unauthorized, the API will return the following error response:
Content typeapplication/jsonobject
messagestringInvalid field
errorstringUnauthorized
statusCodeinteger401
403If the request is forbidden, the API will return the following error response:
If the request is forbidden, the API will return the following error response:
Content typeapplication/jsonobject
messagestringForbidden resource
errorstringForbidden
statusCodeinteger403
500If an unexpected condition occurs and the server cannot process the request, the API will return the following error response. This response has no error field.
If an unexpected condition occurs and the server cannot process the request, the API will return the following error response. This response has no error field.
Content typeapplication/jsonobject
statusCodeintegerHTTP status code.
messagestringExplanation of the error.