Instance · Integrations
Creating a Payment in Stripe
Last updated 1 November 2026
This document guides you in creating a
Creating a Charge
To charge a credit card or other payment source, you need to create a
- URL:
- Method: POST
- Headers:
- Purpose / Description: Creates a Stripe charge object. If
is passed, it will charge the amount to the credit card.
The table below displays and describes the fields available for the request:
| Field | Required | Type | Options | Details |
|---|---|---|---|---|
| amount | Yes | Int | - | Amount in the smallest unit of the currency, for example cents for AUD. 100 means AUD 1.00. |
| currency | Yes | String | - | Charge amount currency in ISO currency code. |
| idempotency_key | No | String | - | UUID to avoid double charges. |
| customer | No | String | - | Customer's Stripe ID to be charged. |
| source | No | String | - | Credit Card's Stripe ID to be charged. |
| description | No | String | - | Descriptive text with other charge information will be displayed in the Stripe dashboard. |
| statement_descriptor | No | String | - | For card charges, use |
| statement_descriptor_suffix | No | String | - | Provides information about the charges customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor. |
Sample request
Displayed below is a sample request body:
currency=AUD&amount=100&customer=cus_Im3jKIBqlilz2w&source=card_19yUNL2eZvKYlo2CNGsN6EWH&description=This%20is%20my%20first%20test%20payment.The body is form-encoded: the fields are joined with & and special characters such as spaces are encoded. The idempotency key goes in the
Note
Please visit Stripe Charges for more information.