curl --request GET \
--url https://api.revolv3.com/api/Invoices/{invoiceId}
{
"invoiceId": 1,
"parentInvoiceId": null,
"customerId": null,
"merchantInvoiceRefId": "1234-5678-9101",
"paymentMethod": {
"paymentMethodId": 0,
"billingAddressId": 0,
"billingFirstName": "John",
"billingLastName": "Doe",
"merchantPaymentMethodRefId": null,
"billingAddress": {
"addressId": 1,
"addressLine1": "100 Main Street",
"addressLine2": null,
"city": "Santa Ana",
"state": "CA",
"postalCode": "92602",
"phoneNumber": null,
"email": null,
"country": "US"
},
"paymentMethodAchDetails": null,
"paymentMethodCreditCardDetails": null
},
"invoiceStatus": "Pending",
"subtotal": 73.1,
"tax": 6.48,
"total": 79.58,
"billingDate": "08-Sep-25",
"merchantLegalName": null,
"merchantCustomerRefId": null,
"customerFirstName": null,
"customerLastName": null,
"subscriptionId": null,
"installmentId": null,
"eligibilityFailReason": null,
"merchantSubscriptionRefId": null,
"networkTransactionId": null,
"currency": null,
"invoiceLineItems": [
{
"invoiceId": 1,
"invoiceLineItemId": 1,
"name": "LineItem1",
"description": "Line Item 1 Description",
"value": 15.3,
"valueType": null
},
{
"invoiceId": 1,
"invoiceLineItemId": 2,
"name": "LineItem2",
"description": "Line Item 2 Description",
"value": 25.5,
"valueType": null
},
{
"invoiceId": 1,
"invoiceLineItemId": 3,
"name": "LineItem3",
"description": "Line Item 3 Description",
"value": 32.3,
"valueType": null
}
],
"invoiceAttempts": null
}
Retrieve an invoice given an Invoice ID.
Upon success, the operation will return a status code of 200 (OK). If no matching invoice can be associated with the given Invoice ID, a status code of 404 (Not Found) will be returned.
curl --request GET \
--url https://api.revolv3.com/api/Invoices/{invoiceId}
{
"invoiceId": 1,
"parentInvoiceId": null,
"customerId": null,
"merchantInvoiceRefId": "1234-5678-9101",
"paymentMethod": {
"paymentMethodId": 0,
"billingAddressId": 0,
"billingFirstName": "John",
"billingLastName": "Doe",
"merchantPaymentMethodRefId": null,
"billingAddress": {
"addressId": 1,
"addressLine1": "100 Main Street",
"addressLine2": null,
"city": "Santa Ana",
"state": "CA",
"postalCode": "92602",
"phoneNumber": null,
"email": null,
"country": "US"
},
"paymentMethodAchDetails": null,
"paymentMethodCreditCardDetails": null
},
"invoiceStatus": "Pending",
"subtotal": 73.1,
"tax": 6.48,
"total": 79.58,
"billingDate": "08-Sep-25",
"merchantLegalName": null,
"merchantCustomerRefId": null,
"customerFirstName": null,
"customerLastName": null,
"subscriptionId": null,
"installmentId": null,
"eligibilityFailReason": null,
"merchantSubscriptionRefId": null,
"networkTransactionId": null,
"currency": null,
"invoiceLineItems": [
{
"invoiceId": 1,
"invoiceLineItemId": 1,
"name": "LineItem1",
"description": "Line Item 1 Description",
"value": 15.3,
"valueType": null
},
{
"invoiceId": 1,
"invoiceLineItemId": 2,
"name": "LineItem2",
"description": "Line Item 2 Description",
"value": 25.5,
"valueType": null
},
{
"invoiceId": 1,
"invoiceLineItemId": 3,
"name": "LineItem3",
"description": "Line Item 3 Description",
"value": 32.3,
"valueType": null
}
],
"invoiceAttempts": null
}
OK
The response is of type object
.