Create a payment request

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Request

Create a payment request
cartobjectRequired
Specify the payment currency and amount.
contactIdlongRequired
Brevo ID of the contact requested to pay.
referencestringRequired
Reference of the payment request, it will appear on the payment page.
configurationobjectOptional
Optional. Redirect contact to a custom success page once payment is successful. If empty the default Brevo page will be displayed once a payment is validated
descriptionstringOptional
Description of payment request.
notificationobjectOptional

Optional. Use this object if you want to let Brevo send an email to the contact, with the payment request URL. If empty, no notifications (message and reminders) will be sent.

Response

Payment request created.
idlong
ID of the object created
urlstring or null
URL of the payment request created

Errors