list payments
GET {{baseUrl}}/payto/payments?per_page=20&starting_after=nisi consequat mollit&state=nostrud officia sit,nostrud Ut mollit&min_created_date=2022-01-01&max_created_date=2022-01-31&agreement_uid=biz_agreement_000123
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
per_page | number | Number of results per page | |
starting_after | string | Opaque pagination cursor value. Set by following "next" links. | |
state | string | Filter payments by state. Multiple values can be separated by commas. | |
min_created_date | string | Filter by minimum created_at date. ISO8601 format. | |
max_created_date | string | Filter by maximum created_at date. ISO8601 format. | |
agreement_uid | string | Filter payments by agreement. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"links":{},"data":[{"uid":"biz_payment_0000000000310","agreement_uid":"biz_agreement_0000000000400","state":"settled","amount":12345,"last_payment":null,"priority":"unattended","reference":null,"description":null,"creditor":{"party_name":"Mr Creditor","ultimate_party_name":null,"account_identifier":{"type":"bban","value":"123456-456789"}},"debtor":{"ultimate_party_name":"Ms Debtor","party_name":"Ms Debtor","account_identifier":{"type":"bban","value":"123456-456789"}},"failure":null,"created_at":"2022-02-01T09:41:00+11:00","links":{"self":"https://api.split.cash/payto/payments/biz_payment_0000000000310","agreement":"https://api.split.cash/payto/agreements/biz_agreement_0000000000400"}},{"uid":"biz_payment_0000000000300","agreement_uid":"biz_agreement_0000000000400","state":"settled","amount":12345,"last_payment":null,"priority":"unattended","reference":null,"description":null,"creditor":{"party_name":"Mr Creditor","ultimate_party_name":null,"account_identifier":{"type":"bban","value":"123456-456789"}},"debtor":{"ultimate_party_name":"Ms Debtor","party_name":"Ms Debtor","account_identifier":{"type":"bban","value":"123456-456789"}},"failure":null,"created_at":"2022-02-01T09:41:00+11:00","links":{"self":"https://api.split.cash/payto/payments/biz_payment_0000000000300","agreement":"https://api.split.cash/payto/agreements/biz_agreement_0000000000400"}},{"uid":"biz_payment_0000000000290","agreement_uid":"biz_agreement_0000000000400","state":"settled","amount":12345,"last_payment":null,"priority":"unattended","reference":null,"description":null,"creditor":{"party_name":"Mr Creditor","ultimate_party_name":null,"account_identifier":{"type":"bban","value":"123456-456789"}},"debtor":{"ultimate_party_name":"Ms Debtor","party_name":"Ms Debtor","account_identifier":{"type":"bban","value":"123456-456789"}},"failure":null,"created_at":"2022-02-01T09:41:00+11:00","links":{"self":"https://api.split.cash/payto/payments/biz_payment_0000000000290","agreement":"https://api.split.cash/payto/agreements/biz_agreement_0000000000400"}}]}