Chaching is a modern subscription-billing platform designed to simplify product management, customer lifecycle workflows, and recurring payments. It combines a clean dashboard for business users with a powerful API built for developers who need full automation and control.
Developer Guide
/- Detach a payment method
List all payment methods
Retrieve a payment method
Attach a payment method
Detach a payment method
Chaching API (1.0)
- Mock serverhttps://chaching.redocly.app/_mock/developer-guide/api/payment-methods
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://chaching.redocly.app/_mock/developer-guide/api/payment-methods?page=1&take=10' \
-H 'cc-api-key: string'Response
application/json
{ "data": [ [] ], "meta": { "page": 0, "take": 0, "itemsTotal": 0, "pagesTotal": 0 } }
- Mock serverhttps://chaching.redocly.app/_mock/developer-guide/api/payment-methods/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://chaching.redocly.app/_mock/developer-guide/api/payment-methods/{id}' \
-H 'cc-api-key: string'Response
application/json
{ "id": "pm_1Q0PsIJvEtkwdCNYMSaVuRz6", "object": "payment_method", "allow_redisplay": "unspecified", "billing_details": { "address": { … }, "email": null, "name": "John Doe", "phone": null }, "created": 1726673582, "customer": null, "livemode": false, "metadata": {}, "type": "us_bank_account", "us_bank_account": { "account_holder_type": "individual", "account_type": "checking", "bank_name": "STRIPE TEST BANK", "financial_connections_account": null, "fingerprint": "LstWJFsCK7P349Bg", "last4": "6789", "networks": { … }, "routing_number": "110000000", "status_details": {} } }
- Mock serverhttps://chaching.redocly.app/_mock/developer-guide/api/payment-methods/{id}/attach
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://chaching.redocly.app/_mock/developer-guide/api/payment-methods/{id}/attach' \
-H 'Content-Type: application/json' \
-H 'cc-api-key: string' \
-d '{
"customerId": "cust_123456789"
}'Response
application/json
{ "id": "pm_1Q0PsIJvEtkwdCNYMSaVuRz6", "object": "payment_method", "allow_redisplay": "unspecified", "billing_details": { "address": { … }, "email": null, "name": "John Doe", "phone": null }, "created": 1726673582, "customer": null, "livemode": false, "metadata": {}, "type": "us_bank_account", "us_bank_account": { "account_holder_type": "individual", "account_type": "checking", "bank_name": "STRIPE TEST BANK", "financial_connections_account": null, "fingerprint": "LstWJFsCK7P349Bg", "last4": "6789", "networks": { … }, "routing_number": "110000000", "status_details": {} } }
- Mock serverhttps://chaching.redocly.app/_mock/developer-guide/api/payment-methods/{id}/detach
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://chaching.redocly.app/_mock/developer-guide/api/payment-methods/{id}/detach' \
-H 'cc-api-key: string'Response
application/json
{ "id": "pm_1Q0PsIJvEtkwdCNYMSaVuRz6", "object": "payment_method", "allow_redisplay": "unspecified", "billing_details": { "address": { … }, "email": null, "name": "John Doe", "phone": null }, "created": 1726673582, "customer": null, "livemode": false, "metadata": {}, "type": "us_bank_account", "us_bank_account": { "account_holder_type": "individual", "account_type": "checking", "bank_name": "STRIPE TEST BANK", "financial_connections_account": null, "fingerprint": "LstWJFsCK7P349Bg", "last4": "6789", "networks": { … }, "routing_number": "110000000", "status_details": {} } }