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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

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