Payments
Create a payment request
Changed onpost/payments/requests
Request
- Base URL: https://api.brevo.com/v3
- URL: https://api.brevo.com/v3/payments/requests
- Auth: one of:
- API key in header api-key
- API key in header partner-key
Request body
Example request
{
"reference": "Invoice #INV0001",
"cart": {
"specificAmount": 1200,
"currency": "EUR"
},
"contactId": 43,
"description": "Shipping Cost for sending bottles to NYC",
"notification": {
"channel": "email",
"text": "Please pay for your yoga class."
},
"configuration": {
"customSuccessUrl": "https://my-company.com/payment-success"
}
}Response
Payment request created.
Example response
{
"id": "6d4ec0b2b48ef803df4103ve",
"url": "https://pay.brevo.com/payment/6d4ec0b2b48ef803df4103ve"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking