Skip to main content
POST
Preview transaction fee

Headers

Authorization
enum<string>
default:NONE
required

Reserved for PCX-managed applications. External API integrations must always send the literal string NONE — this is the only accepted value.

Available options:
NONE
Example:

"NONE"

X-Api-Key
string
default:NONE
required

Your API key. This is the only supported credential.

Example:

"pcx_abc123_xxxx"

Body

application/json
transaction_type
string
required

Type of transaction (e.g. withdrawal, transfer)

amount
number<float>
required
currency
string
required

Response

Fee preview

fee_amount
number<float>
fee_currency
string
total_amount
number<float>