API v1FiatPe Home
FiatPeDocs

Update Checkout Session

PUThttps://api.fiatpe.com/v1/orders/session//v1/orders/session/
Copy

Updates the details of an existing order using its unique order ID. Only supported fields, such as metadata, can be modified after the order is created.

Headers

Sent as Authorization: Basic base64(Api Key:Salt Key)

Path Parameters

order_id*string

Body Parameters

return_url*strine

The URL to which the customer is redirected after the payment is completed, failed, or cancelled.

return_method*strine
POSTGET

The HTTP method used to redirect the customer to the return_url after the payment attempt. Supported values are GET and POST.

metadata*strine

A set of custom key-value pairs used to store additional information about the customer. You can provide up to 15 entries. Each key can contain 1–50 characters, and each value can contain up to 200 characters.