UNPKG

@bebapps/rapyd-sdk

Version:

An un-official [Rapyd](https://rapyd.net) SDK for Node.js.

27 lines (26 loc) 1.98 kB
export enum ServiceProviderError { /** * The request attempted an operation that requires a service provider type, but the 'type' field was empty or absent. The request was rejected. Corrective action: Use a value from the response to 'List Service Providers'. */ ERROR_MISSING_SERVICE_PROVIDER_CATALOG_TYPE = 'ERROR_MISSING_SERVICE_PROVIDER_CATALOG_TYPE', /** * The request tried to pay a service provider, but the currency in the request is not supported by the service provider. The request was rejected. Corrective action: Contact Client Support. */ ERROR_PAY_CATALOG_CURRENCY_NOT_SUPPORTED = 'ERROR_PAY_CATALOG_CURRENCY_NOT_SUPPORTED', /** * The request tried to validate a service provider account, but the account was not recognized. The request was rejected. Corrective action: Provide all fields listed in the response to 'Retrieve Service Provider Details'. */ ERROR_SERVICE_PROVIDER_VALIDATION = 'ERROR_SERVICE_PROVIDER_VALIDATION', /** * The request attempted an operation that requires a service provider account number, but the account number was absent or not recognized. The request was rejected. Corrective action: In the 'fields' object, use the actual account number for the customer in the 'account_number' field. */ INVALID_ACCOUNT_ID = 'INVALID_ACCOUNT_ID', /** * The request attempted an operation that requires a service provider type, but the service provider type was not recognized. The request was rejected. Corrective action: For the service provider type, use a value from the response to 'List Service Providers'. */ INVALID_CATALOG_TYPE = 'INVALID_CATALOG_TYPE', /** * The request attempted an operation that requires a specific field, but the field was missing. The request was rejected. Corrective action: In the 'fields' object, provide the parameter that is named at the end of the response code. */ UNKNOWN_CATALOG_ITEM_REQUIRED_FIELD = 'UNKNOWN_CATALOG_ITEM_REQUIRED_FIELD', };