Create Stablecoin Payment Intent

Create a payment intent for processing stablecoin payments.

Endpoint

POST /api/payment-intents/stablecoin

Request Body

ParameterTypeRequiredDescription
amountnumberYesPayment amount
currencystringYesStablecoin currency (USDC, USDT, etc.)
customer_idstringNoCustomer identifier
descriptionstringNoPayment description

Response

Returns the created payment intent object.
{
  "id": "pi_stablecoin_123456789",
  "amount": 100.00,
  "currency": "USDC",
  "status": "requires_payment_method",
  "customer_id": "cust_123456789",
  "description": "Stablecoin payment",
  "created_at": "2023-01-01T00:00:00Z"
}