CoreSettle API
The CoreSettle API lets you programmatically access your payment data. List and retrieve payments and their underlying transactions, inspect gateway configuration, and receive webhook events in your own systems.
Base URL
https://api.coresettle.com/v1All API endpoints are relative to this base URL. All requests must be made over HTTPS.
Quick Start
Get your API key
Generate an API key from your merchant dashboard. Keep it secret and never expose it in client-side code.
Add the authentication header
Include your API key in the X-API-KEY header with every request.
Make your first API call
curl https://api.coresettle.com/v1/payments \
-H "X-API-KEY: api_live_your_key_here"Documentation
Payments
Create a hosted payment and retrieve it. Inspect status, amounts, and under/overpayment across the payment lifecycle.
View DocsPayment Transactions
List and retrieve the individual attempts behind a payment, including card, crypto, open banking, refunds, and dispute detail.
View DocsMerchant Gateways
Retrieve the payment gateways assigned to your account. View supported currencies, payment methods, transaction limits, and fees.
View DocsWebhooks
Verify signatures and handle the payment.succeeded, payment.underpaid, and payment.expired events delivered to your endpoint.
View DocsAuthentication
Secure your requests with API key authentication. Generate keys from your merchant dashboard and include them in every request.
View DocsError Reference
Understand error codes and handle failures. All errors follow a consistent envelope format with machine-readable codes.
View DocsResponse Format
All responses are returned as JSON. Successful responses include a success flag and a data object. Error responses include an error object with a machine-readable code and human-readable message.
{
"success": true,
"data": {
"id": "507f1f77bcf86cd799439011",
"externalId": "pay_3Qx8Zk2eZvKYlo2C",
"amountMinor": 9999,
"currency": "USD",
"status": "succeeded"
}
}{
"success": false,
"error": {
"code": "INVOICE_NOT_FOUND",
"message": "Payment not found"
}
}