List Payments
Request
- Base URLhttps://merchant-api.accruesavings.com
- Authnone declared. Required headers: Client-ID, Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Filter the list of objects by the value of the status field.
Filter the list of objects by the value of the paymentIntentId field.
Filter the list of objects by the value of the reference field.
Filter the list of objects by the value of the channel field.
Maximum number of objects that will be returned. Can not be greater than 50.
Offset from the beginning of the list of objects. Can not be negative.
Sorts the list of objects by the given criteria. The sort parameter value is a comma separated list of sort criteria. Each sort criteria is a field name optionally followed by a minus sign (-) to indicate descending order. Ascending order is assumed if no minus sign is present. The sort criteria are applied in the order in which they appear in the sort parameter.
Comma-separated list of resources to include. Supported resources: paymentIntent,captures,refunds
Headers
The unique identifier of the client making the request. This header is required to retrieve the client-specific configuration and ensure that the response is tailored to the client's settings and permissions.
Secure secret to access privileged endpoints.
Response
OK
Example response
{
"data": [
{
"attributes": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"status": "Sent",
"amount": 9999,
"channel": "ORG-1",
"reference": "MERCHANT-GENERATED-TOKEN",
"disbursement": [
{
"counterpartyId": "9f755746-13cb-4d0b-81f2-3b4f1b44f6d8",
"amount": 800,
"fee": 10,
"remit": true
},
{
"counterpartyId": "4cf95060-dd01-42ac-9020-8ca42004920d",
"amount": 200,
"fee": 5,
"remit": true
}
],
"charges": {
"fee": {
"amount": 150,
"type": "pay_by_wallet"
},
"rewards": 1000
},
"deductions": {
"rewards": 1000,
"fees": 150
}
},
"relationships": {
"paymentIntent": {
"links": {
"self": "/api/v1/payment-intents/497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}
},
"links": {
"virtualDebitCard": "https://secure-api.accruesavings.com/api/v1/payments/497f6eca-6276-4993-bfeb-53cbbbba6f08/card",
"self": "https://merchant-api.accruesavings.com/api/v1/payments"
}
}
],
"meta": {
"total": 1,
"limit": 10
}
}Changes
No recorded changes to this operation across all 1 revision of this API.