[GET] Get Payment Data
Request description
GET /v1/order/[order id]
The request allows you to get payment data.
This request can also be used to get order data created via Noventiq Checkout.
Connection Data
- Endpoint URL:
- Production environment: https://api.ecommerce.noventiq.com/v1/order
- Test environment: https://api.ecommerce.noventiq.com.demoslweb.com/v1/order
- Request Method: GET
- Authorization: token-based
Authorization token
- Format:
Bearer [token]
- Replace [token] with the token value you get in response to the request sent to the Authentication API
Request Example
GET https://api.ecommerce.noventiq.com/v1/order/123456
Response Description
In response to the request, you receive the server response code corresponding to the processing result. Depending on the code, the response body may contain additional parameters.
Successful Response
If processing is successful, the following will return in response server response code: HTTP/1.1 200 OК and the payment data in JSON format.
Response contains:
- General data
- Payment data
- Customer data
- (Optional) Refund data
- (Optional) Additional parameters
Payment identifier (Payment ID)
For orders in Noventiq Checkout: order identifier
For orders in Noventiq Checkout: order identifier
Extended payment identifier
In such a format prefixes can be added to identifiers.
For orders in Noventiq Checkout: extended order identifier
In such a format prefixes can be added to identifiers.
For orders in Noventiq Checkout: extended order identifier
Payment status
More details on payment statuses.
Value options:
More details on payment statuses.
Value options:
- not paid
- paid - payment successfully completed
- deleted (the status is also used if a full refund has been made)
Payment identifiers on your end
This identifier you transferred when creating a payment (payment_id) or processing an auto-payment (payment_id).
For orders in Noventiq Checkout: Checkout identifier. It is used if an order for a product with dynamic characteristics has been placed.
This identifier you transferred when creating a payment (payment_id) or processing an auto-payment (payment_id).
For orders in Noventiq Checkout: Checkout identifier. It is used if an order for a product with dynamic characteristics has been placed.
Date and time of creation for payment object
Format: YYYY-MM-DDThh:mm:ss±hh:mm.
For orders in Noventiq Checkout: Date and time of creation for order object
Format: YYYY-MM-DDThh:mm:ss±hh:mm.
For orders in Noventiq Checkout: Date and time of creation for order object
Date and time of successful payment completion
- Format: YYYY-MM-DDThh:mm:ss±hh:mm.
- If no payment has been made, the parameter is transferred having an empty value ("").
Currency code of payment
- Format: ISO 4217 alpha-3, 3 characters
- For the value options, see the reference guide
Payment form interface language
For the value options, see the reference guide.
For the value options, see the reference guide.
Link leading to the payment form page
When receiving payment data in the test environment - links will be intended for the test environment (links will have the .demoslweb.com suffix added).
For orders in Noventiq Checkout: link leading to the order page
When receiving payment data in the test environment - links will be intended for the test environment (links will have the .demoslweb.com suffix added).
For orders in Noventiq Checkout: link leading to the order page
It is not used, parameter is transferred with value (0.00).
For orders in Noventiq Checkout: total discount amount
For orders in Noventiq Checkout: total discount amount
VAT amount in payment currency
Format: String contains numerals; value separating by point, with two decimal places.
Format: String contains numerals; value separating by point, with two decimal places.
Total payment amount
- Transferred in payment currency
- VAT are included
- Format: Number with 2 decimals, separator - dot, transferred as string
Payment method code
For the value options, see the reference guide.
For the value options, see the reference guide.
Last 4 digits of card number
The value can be transferred if the customer has paid with a bank card. Otherwise, the parameter is transferred having an empty value (null).
The value can be transferred if the customer has paid with a bank card. Otherwise, the parameter is transferred having an empty value (null).
Card expiration date
The value can be transferred if the customer has paid with a bank card. Otherwise, the parameter is transferred having an empty value ("").
Format: MM/YYYY. Example: 12/2026.
The value can be transferred if the customer has paid with a bank card. Otherwise, the parameter is transferred having an empty value ("").
Format: MM/YYYY. Example: 12/2026.
It is not applicable. False value is always transferred.
For orders in Noventiq Checkout: Installment payment availability
For orders in Noventiq Checkout: Installment payment availability
Customer's country code
- Format: ISO 3166-1 alpha-2
- For the value options, see the reference guide
Customer type
Value options:
Value options:
- physical - natural person
- juridical - legal person
Customer's phone number
If the parameter contains no value on our end, it is transferred empty ("").
If the parameter contains no value on our end, it is transferred empty ("").
Taxpayer identification number
E.g., it is used to transfer:
E.g., it is used to transfer:
- DNI/CUIL or CUIT when payments are made in Argentine pesos
Company name
If the parameter contains no value on our end, it is transferred empty ("").
If the parameter contains no value on our end, it is transferred empty ("").
Company's registered office address
If the parameter contains no value on our end, it is transferred empty ("").
If the parameter contains no value on our end, it is transferred empty ("").
Company’s physical address
If the parameter contains no value on our end, it is transferred empty ("").
If the parameter contains no value on our end, it is transferred empty ("").
Additional payment data
For orders in Noventiq Checkout: product data
For orders in Noventiq Checkout: product data
It is not applicable (a technical value is transferred)
For orders in Noventiq Checkout: product identifiers
For orders in Noventiq Checkout: product identifiers
It is not applicable (an empty value ("") or a technical value is transferred)
For orders in Noventiq Checkout: your product identifiers
For orders in Noventiq Checkout: your product identifiers
It is not applicable (an empty value ("") or a technical value is transferred)
For orders in Noventiq Checkout: your product SKU
For orders in Noventiq Checkout: your product SKU
It is not applicable (an empty value ("") or a technical value is transferred)
For orders in Noventiq Checkout: product sales business segment
For orders in Noventiq Checkout: product sales business segment
Payment descriptions
This description is filled with values of the payment_description parameter when creating a payment object (payment_description) or processing an auto-payment (payment_description).
For orders in Noventiq Checkout: full names of products
This description is filled with values of the payment_description parameter when creating a payment object (payment_description) or processing an auto-payment (payment_description).
For orders in Noventiq Checkout: full names of products
Payment amount excluding VAT
- Transferred in payment currency
- VAT is excluded
- Format: Number with 2 decimals, separator - dot, transferred as string
It is not applicable. "1" is always transferred.
For orders in Noventiq Checkout: product unit quantities
For orders in Noventiq Checkout: product unit quantities
It is not applicable. Empty value ("") is always transferred.
For orders in Noventiq Checkout: product discount percentage
For orders in Noventiq Checkout: product discount percentage
It is not applicable. Empty value ("") is always transferred.
For orders in Noventiq Checkout: product discount amount
For orders in Noventiq Checkout: product discount amount
VAT amount in payment currency
Format: String contains numerals; value separating by point, with two decimal places.
Format: String contains numerals; value separating by point, with two decimal places.
Total payment amount
- Transferred in payment currency
- Including VAT
- Format: String contains numerals; value separating by point, with two decimal places
You profit margin from sales in payment currency
Format: String contains numerals; value separating by point, with two decimal places.
Format: String contains numerals; value separating by point, with two decimal places.
Refund data
It is transferred if the refund has been made. Otherwise, it is not transferred.
It is transferred if the refund has been made. Otherwise, it is not transferred.
Action type
* - Required, if the products.return parameter is transferred.
Value options:
* - Required, if the products.return parameter is transferred.
Value options:
- returned - refund/chargeback
- removed - not used in Noventiq Payments
Date and time of event
- * - Required, if the products.return parameter is transferred
- Format: YYYY-MM-DDThh:mm:ss±hh:mm
Additional parameters
These parameters can be filled out when creating payment objects (additional_data) or during processing. Please note that the time for storing additional parameters in payments is limited.
These parameters can be filled out when creating payment objects (additional_data) or during processing. Please note that the time for storing additional parameters in payments is limited.
Successful Response
{
"order_id": 6666666,
"order_name": "A0006666666",
"status": "delete",
"external_id": "TEST12025",
"create_date": "2021-08-13T09:16:35+03:00",
"pay_date": "2021-08-13T09:20:05+03:00",
"currency": "EUR",
"locale": "en_EN",
"order_detail_url": "https://shop.com/order/status/6666666/1a97507",
"total_discount_amount": "0.0",
"total_vat_amount": "0.00",
"total_amount": "200.00",
"payment": {
"payment_method": "CreditCard",
"payment_system_name": "Bank Card",
"card_last_4": "1234",
"card_expiration_date": "12/26",
"is_installment_payment": false
},
"customer": {
"country": "FR",
"type": "physical",
"email": "customer@gmail.com",
"first_name": "Marcel",
"last_name": "Laporte",
"phone": "",
"vat_number": "",
"company_name": "",
"company_billing_address": "",
"company_delivery_address": ""
},
"products": [
{
"id": 111111,
"vendor_code": "",
"sku": "",
"business_segment": "b2c",
"name": "Demo Payment",
"price": "100.00",
"quantity": 1,
"discount_percent": "",
"discount_amount": "",
"vat_amount": "0.00",
"amount": "100.00",
"margin": "95.00",
"return": {
"type": "returned",
"reason": "test purchase",
"date": "2022-08-14T09:16:35+03:00"
}
}
],
"additional_data": [
{
"name": "referer2",
"value": "test"
},
{
"name": "referer3",
"value": "TEST12025"
}
]
}
Error Response
If an error occurs while processing the request, you receive a server response code corresponding to the result of processing.
Depending on the code, the response body may contain additional parameters.
HTTP Server Response Error Code
HTTP code | Description |
HTTP/1.1 400 Bad Request |
The request is not valid (error in parameters; necessary data is not transferred, etc.). An additional error code (one or more) will be transferred in the response bodу. |
HTTP/1.1 401 Unauthorized |
Unsuccessful authorization. An additional error code (one or more) will be transferred in the response bodу. |
HTTP/1.1 404 Not found |
Invalid request URL or no payment having the identifier transferred is found. If no payment is found, an additional additional error code will return in the response body. |
HTTP/1.1 500 Request Error |
Internal Server Error. Please try again later or contact support. |
Additional Error Codes for HTTP 400
Error | Message | Description |
15000 | Unable to identify your configuration for accessing this API. Please contact technical support. | During processing, we could not identify your account setting unambiguously. Please contact support team. |
Additional Error Codes for HTTP 401
The errors are the same for all the APIs that use token authorization.
Additional Error Codes for HTTP 404
Error | Message | Description |
15020 | Order not found. | No payment with the identifier transferred is found, or you do not have the rights to get the data. |
Example of Error Response
{
"errors": [{
"error": 15020,
"message": "Order not found."
}
]
}