Skip to navigation

Confirm Payment Intent

Test mode on a Brazilian (BRL) account: the dispute test PaymentMethods in payment_method (pm_card_createDispute and the rest of Stripe’s dispute table) are refused with HTTP 400 invalid_request_error, code payment_method_not_available, param payment_method, before any payment is made. See the Testing guide.

Authentication

AuthorizationBasic

Standard Basic HTTP authentication. The username is the Fluveo secret key and the password must be empty, encoded as base64(api_key:).

OR
AuthorizationBearer

Bearer HTTP authentication. Allowed header: Authorization: Bearer <api_key>.

Path parameters

intentstringRequired

Headers

Idempotency-KeystringOptional1-255 characters

Makes a POST safely retryable according to that operation’s documented idempotency policy. The durable 24-hour journal applies only where the resource documentation explicitly claims it. Reusing a key with different parameters or another endpoint returns an idempotency error.

Request

This endpoint expects an object.
payment_method_dataobjectOptional

type=pix carries no data (the Pix instruction is issued server-side and read back through next_action).

payment_method_typeslist of enumsOptional

Payment method vocabulary honored at launch: card (default) or pix (BRL, automatic capture).

Allowed values:
receipt_emailstringOptional
return_urlstringOptional
setup_future_usageenumOptional
Allowed values:

Response

Stripe-compatible response

amountinteger
amount_capturableinteger
amount_receivedinteger
applicationstring or null<=5000 characters
application_fee_amountinteger or null
automatic_payment_methodsobject or null
canceled_atinteger or null
cancellation_reasonenum or null
capture_methodenum
Allowed values:
client_secretstring or null<=5000 characters
confirmation_methodenum
Allowed values:
createdinteger
currencystringformat: "currency"
customerobject or string or null
customer_accountstring or null<=5000 characters
descriptionstring or null<=5000 characters
excluded_payment_method_typeslist of enums or null
idstringformat: "^pi_.+"<=5000 characters

Fluveo narrowing: not in upstream pin; truthful public id-prefix constraint: pi_.

last_payment_errorobject or null
latest_chargeobject or string or null
livemodeboolean
managed_paymentsobject or null
metadatamap from strings to strings
next_actionobject or null

Test-mode redirect action. redirect_to_url.url sends the customer to authenticate; after completion the customer is redirected to redirect_to_url.return_url.

objectenum

Fluveo narrowing annotation: truthful single-value public object constant.

Allowed values:
on_behalf_ofstring or null<=5000 characters
payment_methodobject or string or null
payment_method_configuration_detailsobject or null
payment_method_optionsobject or null
payment_method_typeslist of strings
processingobject or null
receipt_emailstring or null<=5000 characters
reviewstring or null<=5000 characters
setup_future_usageenum or null
Allowed values:
shippingobject or null
sourcestring or null<=5000 characters
statement_descriptorstring or null<=5000 characters
statement_descriptor_suffixstring or null<=5000 characters
statusenum
transfer_groupstring or null<=5000 characters
amount_detailsobjectOptional
hooksobjectOptional
payment_detailsobjectOptional
presentment_detailsobjectOptional
transfer_dataobject or nullOptional