invoiceninja/openapi/components/schemas/payment_request.yaml

52 lines
1.6 KiB
YAML

PaymentRequest:
properties:
client_id:
description: 'The client hashed id'
type: string
example: Opnel5aKBz
client_contact_id:
description: 'The client contact hashed id'
type: string
example: Opnel5aKBz
user_id:
description: 'The user hashed id'
type: string
example: Opnel5aKBz
type_id:
$ref: '#/components/schemas/PaymentType'
date:
description: 'The Payment date'
type: string
example: 1-1-2014
transaction_reference:
description: 'The transaction reference as defined by the payment gateway'
type: string
example: xcsSxcs124asd
assigned_user_id:
description: 'The assigned user hashed id'
type: string
example: Opnel5aKBz
private_notes:
description: 'The private notes of the payment'
type: string
example: 'The payment was refunded due to error'
amount:
description: 'The amount of this payment'
type: number
example: 10
invoices:
description: ''
type: array
items:
$ref: '#/components/schemas/InvoicePaymentable'
credits:
description: ''
type: array
items:
$ref: '#/components/schemas/CreditPaymentable'
number:
description: 'The payment number - is a unique alpha numeric number per payment per company'
type: string
example: PAY_101
type: object