Payment
At Pliant, a payment occurs when money is sent to the platform either
- via bill payment (after transactions have been created with the cards),
- via top-up payment (before transactions can be created with the cards).
Thus the payment brings the credit card account back to zero or close to it (due to credit card transactions in between). Payments happen according to the payment frequency of the organization. They include and consider all relevant transactions and other payments during the specified period.
To select the next upcoming payment for an organization, please fetch all BILL
payments with the following statuses: PLANNED
, UPCOMING
, READY_FOR_PMT
, PENDING
and DEFERRED
and select the one with the closest plannedPaymentDate
.
Data Model
Field | Type | Description |
---|---|---|
| uuid | An identifier for the payment, unique to the company |
| string | The "human-friendly" 8 digits identifier is used in Pliant Apps and is part of the reference on the bank statement of the customer |
| uuid | An identifier for the organization that the payment belongs to; unique on the platform |
| uuid | The |
| string | Type of the payment. |
| string | Method of payment; typically this is SEPA Direct Debit.
|
| object | An array in regard to the amount for the given payment
|
| string | Current state of the transaction, either:
For
For
For
For
|
| number | |
| date-time | Closing date for the credit card statement (= bill) of the organizations billing cycle. Usually this is around the 23th/24th of the month |
| date-time | Date & time when the payment is going to be deducted (e.g. via SEPA direct debit) |
| date-time | Date & time when the payment is actually processed |
| array | The transactions which are linked by this payment, i.e. getting paid with this payment. |
| string | Synchronisation status of the payment |
| date-time | Date the payment has been synced to the partner (initiated by Pliant) |
| date-time | Date the payment has been marked as temporary locked (initiated by partner) |
| date-time | Date the payment has been locked (initiated by partner) |
| date-time | Date & time when the payment was created either by Pliant (for bill payments) or by the organization (for top-up payments) |
| date-time | Date & time when the payment was last updated |
Example Data
[
{
"paymentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"publicPaymentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "BILL",
"method": "DIRECT_DEBIT_CORE",
"status": "PLANNED",
"amount": {
"value": 0,
"currency": "string"
},
"paymentDefermentInDays": 0,
"cutOffDate": "2023-03-22T07:54:53.033Z",
"plannedPaymentDate": "2023-03-22T07:54:53.033Z",
"actualPaymentDate": "2023-03-22T07:54:53.033Z",
"partnerSubmissionStatus": "NOT_SYNCED",
"partnerSubmissionStatusSyncedAt": "2023-03-22T07:54:53.033Z",
"partnerSubmissionStatusTempLockedAt": "2023-03-22T07:54:53.033Z",
"partnerSubmissionStatusLockedAt": "2023-03-22T07:54:53.033Z",
"createdAt": "2023-03-22T07:54:53.033Z",
"updatedAt": "2023-03-22T07:54:53.033Z"
}
]
Updated 8 days ago