customer_portal
orders
public

Confirm Retry Payment

Confirm a retry payment using a Stripe confirmation token.

post/v1/customer-portal/orders/{id}/confirm-payment

Request

  • Base URL
    https://api.polar.sh
  • URL
    https://api.polar.sh/v1/customer-portal/orders/{id}/confirm-payment
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

idstring uuid4 required

The order ID.

Request body

confirmation_token_idstring nullable

ID of the Stripe confirmation token for new payment methods.

payment_method_idstring uuid4 nullable

ID of an existing saved payment method.

payment_processor'stripe'

Response

Successful Response

statusstring required

Payment status after confirmation.

client_secretstring nullable

Client secret for handling additional actions.

errorstring nullable

Error message if confirmation failed.

Changes

No recorded changes to this operation across all 11 revisions of this API.