• France
lyra.com
Search
Categories
Tags
Europe (English)
France
Spain
Europe (English)
India
Home
Implementation
Embedded form (cards)
REST payment API
REST PCI-DSS payment API
REST SEPA API
Hosted payment
Data collection form
File exchange
Mobile payment
Snippets
Plugins
Marketplace
Back Office
Merchant Back Office
Expert Back Office
Guides
Help
FAQ
Video tutorials
Support

Receiving the Payment URL

The payment gateway returns a response in JSON format containing an HTTP success or error status code.

Success

In case of success, the payment gateway returns an HTTP status code 200 OK.

The response contains the payment URL where the mobile application must redirect the buyer.

{
"status":"INITIALIZED",	"redirect_url":"https://secure.lyra.com:443/vads-payment/exec.refresh.a;jsessionid=CE2Cb9daEDe7f6dBF31FE65e.vadpayment01bdx"}

Error

In case of error, the payment gateway returns an HTTP status code 400 Bad Request or 500 Internal Server Error.

The response will contain the details of the error.

{
"status":"ERROR",	"error":" {"code": "09", "value": "Missing or invalid parameter value"}"
}

For more details, see the list of error codes of the Hosted Payment Page Implementation Guide:

https://lyra.com/doc/en/collect/error-code/error-00.html

Recruitment

Head Office :

LYRA NETWORK
109, rue de l’innovation
31670 Labège
FRANCE

2.16.0-doc-1.8