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

Response for status ok

object
success
required
boolean
paymentUrl
required
string format: uri

400

Response for status badRequest

object
success
required
boolean
message
required
string

403

Response for status forbidden

object
success
required
boolean
message
required
string

404

Response for status notFound

object
success
required
boolean
message
required
string

500

Response for status internalServerError

object
success
required
boolean
message
required
string