Payment
From The Contingency Market
A Payment represents either a transfer of funds that is due, or a transfer of funds that has been made.
Due payments are automatically created upon the making and completion of Deals. They are matched by transferring payments as funds become available.
Payments resulting from Deals always involve two agents. Deposits and withdrawals only involve a single agent, the receiver or payer respectively.
Details of payments are only made available via the API if the authenticated agent is party (depositor, withdrawer, receiver, payer).
A payment is specified by a unique ID and can be retrieved via GetPayment().
There are six classes of payment that can each be counted, listed, or totalled.
Contents |
Receivable
These payments are due to be received by the authenticated agent (as a result of a deal with another agent).
See CountPaymentsReceivable(), ListPaymentsReceivable(), and TotalPaymentsReceivable().
Payable
These payments are due to be paid by the authenticated agent (as a result of a deal with another agent).
See CountPaymentsPayable(), ListPaymentsPayable(), and TotalPaymentsPayable().
Received
These payments have been received by the authenticated agent (as a result of a deal with another agent).
See CountPaymentsReceived(), ListPaymentsReceived(), and TotalPaymentsReceived().
Paid
These payments have been paid by the authenticated agent (as a result of a deal with another agent).
See CountPaymentsPaid(), ListPaymentsPaid(), and TotalPaymentsPaid().
Deposited
These payments have been received by (credited to) the authenticated agent (as a result of a deposit).
See CountPaymentsDeposited(), ListPaymentsDeposited(), and TotalPaymentsDeposited().
NB Payments may be given a tag in the deposit process by 3rd party online payment providers. The authenticated agent can query their deposit payments matching such tags by using ListPaymentsMatchingTag().
Withdrawn
These payments have been paid by (debited from) the authenticated agent (as a result of a withdrawal).
See CountPaymentsWithdrawn(), ListPaymentsWithdrawn(), and TotalPaymentsWithdrawn().

