Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 968 Bytes

record-payment-response.md

File metadata and controls

46 lines (38 loc) · 968 Bytes

Record Payment Response

Structure

RecordPaymentResponse

Fields

Name Type Tags Description
PaidInvoices []models.PaidInvoice Optional -
Prepayment models.Optional[models.InvoicePrePayment] Optional -

Example (as JSON)

{
  "paid_invoices": [
    {
      "invoice_id": "invoice_id8",
      "status": "draft",
      "due_amount": "due_amount0",
      "paid_amount": "paid_amount0"
    },
    {
      "invoice_id": "invoice_id8",
      "status": "draft",
      "due_amount": "due_amount0",
      "paid_amount": "paid_amount0"
    },
    {
      "invoice_id": "invoice_id8",
      "status": "draft",
      "due_amount": "due_amount0",
      "paid_amount": "paid_amount0"
    }
  ],
  "prepayment": {
    "subscription_id": 148,
    "amount_in_cents": 124,
    "ending_balance_in_cents": 164
  }
}