v1
latestOpenAPI 3.1.02026-07-241080412.6 KBGet an order
To get an order, you use publisher token and order id. Orders expire after 24 hours unless the payment is captured.
get/orders/{orderId}
Path parameters
orderIdstring required
Headers
Content-Typestring
Response
200
Example response
{
"success": true,
"order": {
"id": 159026691,
"customerId": 771994569,
"customer": {
"locale": "en_US",
"email": "test@test.com"
},
"publisherId": 167631863,
"offerId": "S398236333_PL",
"offer": {
"title": "Title",
"price": 4.065,
"currency": "EUR"
},
"totalPrice": 9.3217,
"priceBreakdown": {
"offerPrice": 4.74,
"discountAmount": 0.95,
"discountedPrice": 3.79,
"taxValue": 0.87,
"paymentMethodFee": 4.6617
},
"taxRate": 0.23,
"currency": "USD",
"country": "PL",
"paymentMethodId": 399207736,
"expirationDate": 1574333220,
"billingAddress": {
"billingStreetName": "street",
"billingStreetNumber": "123",
"billingPostalCode": "62-025"
},
"couponId": 7,
"discount": {
"applied": true,
"type": "coupon",
"periods": 10
},
"requiredPaymentDetails": true
},
"message": "Order data sent successfully"
}