List all charges
Returns a list of charges you've previously created.
Request Parametersโ
Path & Query Parametersโ
Parameters
Responsesโ
200 Successful responseโ
Returns a ChargeList object.
401 undefinedโ
Code Samplesโ
- cURL
- Ruby
- Python
- Node.js
curl https://api.omise.co/charges \
-u skey_test_5xuy4w91xqz7d1w9u0t:
require 'omise'
Omise.api_key = 'skey_test_5xuy4w91xqz7d1w9u0t'
listCharges = Omise::Charge.retrieve
import omise
omise.api_secret = 'skey_test_5xuy4w91xqz7d1w9u0t'
listCharges = omise.Charge.retrieve()
const omise = require('omise')({
secretKey: 'skey_test_5xuy4w91xqz7d1w9u0t'
});
const listCharges = await omise.charges.retrieve();
API Credentials
Try it outโ
Use the interactive form above to test this endpoint.