Skip to main content
POST
/
organizations
/
admin
/
add-rate-config
Add a rate config
curl --request POST \
  --url https://prod-api.pcxpay.com/v1/organizations/admin/add-rate-config \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '{}'
{
  "status": "success",
  "message": "<string>",
  "data": {}
}

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"

Body

application/json

See OrganizationConfig entity — org_id, from_currency, to_currency, spread, provider, active expected.

Response

201 - application/json

Rate config created

status
string
Example:

"success"

message
string
data
object