Skip to main content
GET
/
virtual-accounts
/
fees
/
{fee_id}
Get fee configuration
curl --request GET \
  --url https://prod-api.pcxpay.com/v1/virtual-accounts/fees/{fee_id} \
  --header 'Authorization: <authorization>' \
  --header 'X-Api-Key: <x-api-key>'
{
  "status": "success",
  "message": "Operation completed successfully",
  "data": {
    "currency": "USD",
    "transaction_type": "withdrawal",
    "fee_type": "<string>",
    "fee_structure": "percentage",
    "fee_value": 1.5,
    "fee_id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "min_fee": 123,
    "max_fee": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.pcxpay.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string
default:NONE
required

Bearer JWT for user-facing flows (Bearer eyJraWQ...), or the literal string NONE when authenticating via API key.

Example:

"Bearer eyJraWQ..."

X-Api-Key
string
default:NONE
required

API key for server-to-server flows, or the literal string NONE when authenticating via JWT.

Example:

"pcx_abc123_xxxx"

Path Parameters

fee_id
string
required

Response

Fee configuration

status
enum<string>
Available options:
success,
error
Example:

"success"

message
string
Example:

"Operation completed successfully"

data
object