📘

Using the PHP client library

If you are using our PHP client library, there are setter and getter methods to access the PHP object properties.

📘

Integration manual

For more information about the usage of VR pay secure Gateway, please visit VR pay secure Gateway section.

Query Params
string
required

Your VR pay secure instance name

Body Params
int32
required

Amount of payment.

float
Defaults to null

VAT Rate Percentage

string
required

Currency of payment (ISO code).

string

Product stock keeping unit

string

The purpose of the payment.

string

URL to redirect to after successful payment.

string

URL to redirect to after failed payment.

string

URL to redirect to after manual cancellation by shopper.

basket
array of strings

List of all products (incl. shipping costs). The sum of all product amounts must match the amount parameter above. Basket products contains name, description, quantity and amount (in cents).

basket
psp
array of int32s

List of PSPs to provide for payment. If empty all available PSPs are provied.

psp
pm
array of strings

List of payment mean names to display

pm
boolean
Defaults to false

Whether charge payment manually at a later date.

boolean
Defaults to false

Whether charge payment manually at a later date (type reservation)

string

An internal reference id used by your system.

string

The contact data fields which should be stored along with payment

boolean
Defaults to false

Skip result page and directly redirect to success or failed URL

boolean

preAuthorization needs to be "true". This will charge the authorization during the first payment.

int32

Gateway validity in minutes.

boolean

Defines whether the payment should be handled as subscription.

string

Payment interval

string

Duration of the subscription

string

Defines the period, in which a subscription can be canceled.

buttonText
array of strings

Change the default button Text "Pay" to a custom String

buttonText
string

UUID of the look and feel profile to use.

string

Custom success message on result page.

Response

Language
Request
Choose an example:
application/json