For the complete documentation index, see llms.txt. This page is also available as Markdown.

Exchange

POST https://api.passimpay.io/v2/exchange

This method creates an order for currency exchange.

Once the exchange is completed, you will receive a callback with the exchange identifier.

Rate Limit: 1 requests per second

Headers

Name
Type
Description

x-signature

string

SHA-256 encrypted signature

Content-Type

string

application/json

Request Body

Name
Type
Description

platformId

integer

Platform Id

paymentFromId

integer

Currency ID. You can get the list of currency IDs here.

paymentToId

integer

Currency ID. You can get the list of currency IDs here.

amount

string

The exchange amount.

Successful response (200)

Name
Type
Description

result

integer

Request result: 1: success

exchangeId

integer

The unique identifier of the created exchange order.

Error Response (400)

Name
Type
Description

result

integer

Request result: 0: error

message

string

Error description

Last updated