Get payment request details

Retrieve the details of a specific payment request by its ID. The response includes the reference, status (created, sent, reminderSent, or paid), cart details, notification configuration, contact ID, and the number of reminders sent. Returns a 404 error if no payment request matches the provided ID.

Authentication

api-keystring

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

Path parameters

idstringRequired
Id of the payment Request

Response

Payment request details
cartobject
Specify the payment currency and amount.
notificationobject

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.

referencestring
Reference of the payment request, it will appear on the payment page.
statusenum
Status of the payment request.
Allowed values:
configurationobject
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
contactIdlong
Brevo ID of the contact requested to pay.
numberOfRemindersSentlong
number of reminders sent.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error