Skip to main content
Create One Time Payment
curl --request POST \
  --url https://api.revolv3.com/api/Subscriptions/{subscriptionId}/payment \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json-patch+json' \
  --data '{
  "merchantInvoiceRefId": "b7117efa-b9d8-4095-b214-20814e6f4310",
  "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,
  "responseCode": null
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

subscriptionId
integer
required

Body

merchantInvoiceRefId
string | null
invoiceLineItems
object[] | null

Response

OK

invoiceId
integer
merchantInvoiceRefId
string | null
invoiceStatus
enum<string>
Available options:
Paid,
Void,
Pending,
Recycle,
Noncollectable,
Failed,
Refund,
MerchantPaid,
MerchantCancelled,
OneTimePaymentPending,
PartialRefund,
BatchPending,
CapturePending,
RefundPending,
RefundDeclined,
RefundFailed,
RetryPending,
RecurringPending,
MultiCardsPending
invoiceAttemptStatus
string | null
message
string | null
subtotal
number
taxAmount
number
total
number
paymentMethodTypeId
integer
processorRawResponse
string | null
transactionId
string | null
billInvoiceResponse
object
responseCode
string | null