Charge a one-time payment by card

Immediately charges an existing scheduled payment with unsaved card details and applies the resulting transaction to its contract.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Path parameters

idintegerRequired>=1
Existing payment identifier to charge.

Request

This endpoint expects a multipart form.
merchant_account_idintegerRequired
payment_amountdoubleRequired>=0.01
credit_card_numberstringRequired
credit_card_exp_datestringRequiredformat: "^\\d{4}-\\d{2}$"
credit_card_cvcstringRequired
customer_billing_namestringRequired
customer_address_1stringRequired
customer_address_2string or nullOptional
customer_citystringRequired
customer_statestringRequired
customer_zipstringRequired
customer_countrystringRequired
customer_phonestringRequired
customer_emailstring or nullOptionalformat: "email"
contract_fees_type_idinteger or nullOptional>=1
is_creditboolean or nullOptional
notestring or nullOptional

Response

The card payment result and payment resource were returned.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error