Server-side payments/chargePaymentMethod
Charge a saved payment method
PreviewCharge a saved card server-side, without the cardholder present.
POST
/v1/cnp/payment-methods/{id}/chargeCharge a stored payment method server-side — recurring billing, top-ups, any
merchant-initiated payment off a card the customer set up earlier. For a
cardholder-present online payment use a checkout session instead.
Path parameters
idstringRequiredThe payment method (`pm_...`).
Request body
application/json
amountMinorintegerRequiredExample 1999
currencyCodestringRequiredExample "USD"
merchantInitiatedbooleanTrue for a payment the customer is not present for (rebill, top-up).
Example true
reasonenumrecurringunscheduledincrementalExample "recurring"
descriptionstringExample "Pro plan — March"
Response
application/json
idstringRequiredExample "0195d46e-7088-7cc4-a9b2-5f9273cd63b8"
merchantIdstringRequiredExample "mch_123"
customerIdstringExample "cus_123"
terminalIdstringExample "TID-00012345"
amountMinorintegerRequiredExample 1999
currencyCodestringRequiredExample "USD"
statusenumRequiredREQUIRES_PAYMENT_METHODREQUIRES_CONFIRMATIONPROCESSINGSUCCEEDEDDECLINEDREQUIRES_ACTIONCANCELEDclientSecretstringReturned on create responses; pass only to the browser client for this payment.
Example "pi_0195d46e_secret_example"
paymentIdstringPayment ID, present after the charge has been sent for authorization.
Example "0195d46e-7088-7cc4-a9b2-5f9273cd63b8"
paymentstringPayment details, present after authorization.
setupFutureUsageenumOFF_SESSIONON_SESSIONdescriptionstringmetadataobjectcreatedAtstring · ISO 8601RequiredExample "2026-04-09T09:14:22Z"
chargePaymentMethod