API v1FiatPe Home
FiatPeDocs

Update Order

PUThttps://api.fiatpe.com/v1/orders//v1/orders/
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_urlstring

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

metadatajson object

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.

return_methodstring
GETPOST

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