Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.14 KB

create-invoice-payment.md

File metadata and controls

30 lines (22 loc) · 1.14 KB

Create Invoice Payment

Structure

CreateInvoicePayment

Fields

Name Type Tags Description
Amount *models.CreateInvoicePaymentAmount Optional This is a container for one-of cases.
Memo *string Optional A description to be attached to the payment. Applicable only to external payments.
Method *models.InvoicePaymentMethodType Optional The type of payment method used. Defaults to other.
Details *string Optional Additional information related to the payment method (eg. Check #). Applicable only to external payments.
PaymentProfileId *int Optional The ID of the payment profile to be used for the payment.
ReceivedOn *time.Time Optional Date reflecting when the payment was received from a customer. Must be in the past. Applicable only to
external payments.

Example (as JSON)

{
  "amount": "String9",
  "memo": "memo0",
  "method": "cash",
  "details": "details6",
  "payment_profile_id": 122
}