Create Charge
createChargeCreate Charge
Record a customer revenue event from an external billing system.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email address for the person or customer. | ||
| phone | No | Phone number for the person or customer. | |
| amount | Yes | Charge amount in the smallest currency unit. | |
| currency | No | Three-letter ISO currency code. | |
| charged_at | No | When the charge occurred. Optional instant for request bodies: Unix timestamp as integer (seconds), or a date/time string of at most 50 characters that PHP Carbon can parse. For strings, ISO-8601 / RFC 3339 (for example 2026-04-28T15:30:00Z) is the recommended format in examples and client integrations. Invalid values fail validation. When the field is omitted or null, the API uses the current server time where that behavior is documented on the operation. | |
| location_slug | No | Slug of an existing project location. Returns 404 if the slug is not found. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Short code or application-level status code for this resource. | |
| data | No | Response payload for the request. | |
| success | No | Indicates whether the request completed successfully. |