confirm Charge Intent
Confirms a server-minted charge intent in-app, moving it to an authorized state.
The intent must already exist — your server creates it (POST /v1/charge_intents with sk_) and hands the resulting client_secret to your app. Confirmation authenticates with that client_secret, never the secret key. Mirrors frame-js's confirmCardPayment(clientSecret).
Return
A Pair containing the updated ChargeIntent on success, or a NetworkingError on failure.
Parameters
The ID of the charge intent to confirm.
The charge intent's server-minted client_secret (ci_<id>_secret_…).
Confirms a server-minted charge intent in-app, moving it to an authorized state.
The intent must already exist — your server creates it (POST /v1/charge_intents with sk_) and hands the resulting client_secret to your app. Confirmation authenticates with that client_secret, never the secret key.
Parameters
The ID of the charge intent to confirm.
The charge intent's server-minted client_secret (ci_<id>_secret_…).
Called with the updated ChargeIntent on success, or a NetworkingError on failure.