API referenceCharges

List charges

Most recent first, scoped to your business and your key's mode.

GET
/api/b/v1/charges

Most recent first, scoped to your business and your key's mode.

Query Parameters

limit?Limit
Range1 <= value <= 200
Default50
status?|

created|pending|succeeded|failed|refunded|partially_refunded|disputed

settled?|

Filter on whether the money has landed. false is money a rail has taken that you cannot spend yet. Separate from status because settlement is not a lifecycle state: a charge is succeeded the moment the rail confirms it, and whether the funds have arrived is a different question about the same charge.

Response Body

application/json

application/json

curl -X GET "https://example.com/api/b/v1/charges"
[  {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "reference": "string",    "amount_minor": 0,    "fee_minor": 0,    "net_minor": 0,    "refunded_minor": 0,    "currency": "string",    "status": "string",    "channel": "string",    "provider": "string",    "failure_reason": "string",    "is_test": true,    "created_at": "2019-08-24T14:15:22Z",    "confirmed_at": "2019-08-24T14:15:22Z",    "settled_at": "2019-08-24T14:15:22Z",    "expected_settlement_at": "2019-08-24T14:15:22Z",    "payer_name": "string"  }]