Skip to main content
PUT
/
organizations
/
admin
/
rate-configs
/
{org_id}
Update a rate config for an organization
curl --request PUT \
  --url https://api.pcxpay.com/v1/organizations/admin/rate-configs/{org_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "status": "<string>",
  "message": "<string>",
  "data": {
    "config_id": "<string>",
    "org_id": "<string>",
    "from_currency": "<string>",
    "to_currency": "<string>",
    "spread": 123,
    "active": true,
    "provider": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

org_id
string
required

Body

application/json

Partial OrganizationConfig fields to update.

Response

Rate config updated

status
string
message
string
data
object