Skip to content

Create a payment for an invoice with Barion

POST
/api/invoices/{invoiceId}/pay/barion

Post /api/invoices/:invoiceId/pay/barion

Parameters

Path Parameters

invoiceId
required
string

Request Body required

object
redirectUrl
required
string format: uri
locale
string
Allowed values: cs-CZ de-DE en-US es-ES fr-FR hu-HU sk-SK sl-SI
i18n
required
object
name
required
string
description
required
string
unit
required
string

Responses

200

Create a payment for an invoice with Barion 200 response

object
success
required
boolean
paymentUrl
required
string format: uri

400

Create a payment for an invoice with Barion 400 response

object
success
required
boolean
message
required
string

403

Create a payment for an invoice with Barion 403 response

object
success
required
boolean
message
required
string

404

Create a payment for an invoice with Barion 404 response

object
success
required
boolean
message
required
string

500

Create a payment for an invoice with Barion 500 response

object
success
required
boolean
message
required
string