Create One Time Payment
curl --request POST \
  --url https://api.revolv3.com/api/Subscriptions/{subscriptionId}/payment \
  --header 'Content-Type: application/json-patch+json' \
  --data '{
  "merchantInvoiceRefId": "e0792414-596c-4dc5-9877-6ca711b48a0a",
  "invoiceLineItems": [
    {
      "name": "Invoice Line Item 1",
      "description": null,
      "value": 10.99,
      "valueType": "Standard"
    },
    {
      "name": "Invoice Line Item 2",
      "description": null,
      "value": 11.99,
      "valueType": "Standard"
    },
    {
      "name": "Invoice Line Item 3",
      "description": null,
      "value": 12.99,
      "valueType": "Standard"
    }
  ]
}'
{
  "invoiceId": 1,
  "merchantInvoiceRefId": null,
  "invoiceStatus": 0,
  "invoiceAttemptStatus": "Success",
  "message": null,
  "subtotal": 10.99,
  "taxAmount": 0.98,
  "total": 11.97,
  "paymentMethodTypeId": 0,
  "processorRawResponse": null
}

Path Parameters

subscriptionId
integer
required

Body

merchantInvoiceRefId
string | null
invoiceLineItems
object[] | null

Response

OK

invoiceId
integer
merchantInvoiceRefId
string | null
invoiceStatus
enum<integer>
Available options:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19
invoiceAttemptStatus
string | null
message
string | null
subtotal
number
taxAmount
number
total
number
paymentMethodTypeId
integer
processorRawResponse
string | null
transactionId
string | null
billInvoiceResponse
object