/v2/payments/assign_payment_fee

POST

Assign payment fee table to specific sub-account.

The API responses shown below are static. If you want to try out the API please login, or register for an API key

API parameters

Required
NameInTypeDescriptionFormat
X-Auth-Token header string Authentication token.
payment_fee_id formData string Id of the payment fee entity which will be assigned to teh account. uuid
account_id formData string Id of the account which the payment fee will be assigned. uuid
curl -X POST  --header "X-Auth-Token: XXXX-XXXXX-XXXX"  https://devapi.currencycloud.com/v2/payments/assign_payment_fee

Response

{
    "id": "7c17b546-0435-45f0-9c17-3a4e0f2d3e84",
    "account_id": "245a1ebd-d8a6-416d-bcc1-9de381d22f90"
}
Error Codes
HTTP Status Code Description Params
400 payment_fee_id_is_required payment_fee_id is required
payment_fee_id_is_not_valid_uuid payment_fee_id should be in UUID format
account_id_is_required account_id is required
account_id_is_not_valid_uuid account_id should be in UUID format
account_configuration_is_invalid Account is not enabled for CashManager or NewPaymentRelease flow
invalid_extra_parameters Invalid extra parameters extra_parameter { "parameters" => "extra_parameter" }
401 invalid_supplied_credentials Authentication failed with the supplied credentials
403 permission_denied permission_denied
429 too_many_requests Too many requests have been made to the api. Please refer to the Developer Center for more information
500 internal_server_error Internal server error
503 service_unavailable Service is temporary unavailable
Was this page helpful?
Yes
No