Follow

How do I pass my orderId/ invoiceId to the OPG?

It is possible to pass your shops specific order Id to the OPG for ease of your reference in matching your transactions.  The OPG can process your order Id as a parameter "invoiceId" in the LIST Request. 

invoiceId (string, optional): it is assigned by the merchant and can be up to 128 characters long.

 

Below is an example of a LIST request.

{
"transactionId": "S-321-012",
"country": "DE",
"integration":"HOSTED",
"payment": {
"amount": 119.90,
"currency": "EUR",
"reference": "Your order ref 321",
"invoiceId": "ABC123"
},

"customer": {
"email":"example123@example.com",
"registration": {
"password": "lbeIj95VPz3v"
}
},
"callback": {
"returnUrl": "https://my.ubuy.com/shop/success.html",
"cancelUrl": "https://my.ubuy.com/shop/cancel.html",
"notificationUrl": "https://ubuy.com/shop/notification.html"
}
}

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments