Developer Docs

Update a server payment

Updates an existing payment with new information.

This endpoint allows you to modify payment details such as billing information, customer details, or other payment metadata after the payment has been created but before it's finalized.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Unique identifier of the payment to update

Body Params
card
object

Card information for secure payment processing. All card data is automatically tokenized and encrypted before processing. Your card details are never stored or transmitted in plain text.

products
array of objects

The list of products to purchase. All prices are excluding tax (HT). The total amount will be calculated based on the sum of product prices times quantities, then tax will be added automatically based on the billing country.

Will update the payment products list if provided, otherwise the payment products list will not be updated.

products
string
enum

Payment currency. Will update the payment currency if provided, otherwise the payment currency will not be updated.

Allowed:
string
required

Customer email address

string
required

Billing country code (ISO 3166-1 alpha-2)

string

Billing postal code (required for some countries like US)

boolean

Whether the purchase is for a business

string

Business name (required if purchasingAsBusiness is true)

string

Business tax ID (required if purchasingAsBusiness is true)

string

First name

string
required

Customer's name. This field accepts EITHER the full name (e.g., 'John Doe') OR just the last name (e.g., 'Doe') if you also provide the firstName field separately. Choose one approach: (1) Use only this 'name' field with the full name, OR (2) Use both 'firstName' and 'name' fields where 'name' contains only the last name.

metadatas
object

Optional metadata (key-value pairs)

boolean

Auto-confirm the payment (default false). When enabled, the payment is processed immediately if no 3DS step is required, or right after a successful 3DS authentication.

boolean

Force 3DS authentication directly. With card information (on-session) the 3DS is forced even if it is not strictly required.

string
enum
Defaults to TAX_EXCLUSIVE

Pricing mode for the products. TAX_EXCLUSIVE (default): Product prices are excluding tax (HT), tax is added on top to calculate the final amount. TAX_INCLUSIVE: Product prices include tax (TTC), tax is extracted from the total while keeping the final amount fixed.

Allowed:
string

URL to redirect to after successful 3DS authentication, only required if card information is provided

string

URL to redirect to after failed 3DS authentication, only required if card information is provided

string
length ≤ 11

Optional statement descriptor (max 11 characters) shown on the customer's bank statement as 'INFLOWPAY* '. Falls back to the account-level statement descriptor if omitted.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json