UNPKG

@bebapps/rapyd-sdk

Version:

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

27 lines (26 loc) 2.24 kB
export enum BeneficiaryTokenizationError { /** * The request tried to create a beneficiary tokenization page, but the payout category was not valid. The request was rejected. Corrective action: Set 'category' to 'bank' or 'card'. */ ERROR_HOSTED_PAGE_BENEFICIARY_INVALID_CATEGORY = 'ERROR_HOSTED_PAGE_BENEFICIARY_INVALID_CATEGORY', /** * The request attempted to create a beneficiary with a hosted page, but the type of entity for the beneficiary was 'individual' and a company name was provided. The request was rejected. Corrective action: Set ‘sender_entity_type’ to ‘company’ or leave 'company_name' blank. */ ERROR_HOSTED_PAGE_BENEFICIARY_INVALID_COMPANY_NAME = 'ERROR_HOSTED_PAGE_BENEFICIARY_INVALID_COMPANY_NAME', /** * The request tried to create a beneficiary tokenization page, but the page expiration timestamp was not valid. The request was rejected. Corrective action: Set 'page_expiration' to a Unix timestamp in the future. */ ERROR_HOSTED_PAGE_BENEFICIARY_INVALID_EXPIRATION_TIMESTAMP = 'ERROR_HOSTED_PAGE_BENEFICIARY_INVALID_EXPIRATION_TIMESTAMP', /** * The request attempted to create a beneficiary with a hosted page, but the ID type was not valid. The request was rejected. Corrective action: In the 'beneficiary_optional_fields' object, set a valid value for 'identification_type'. For details, see the API reference. */ ERROR_HOSTED_PAGE_BENEFICIARY_INVALID_IDENTIFICATION_TYPE = 'ERROR_HOSTED_PAGE_BENEFICIARY_INVALID_IDENTIFICATION_TYPE', /** * The request attempted to create a beneficiary with a hosted page, but the ID value was not valid. The request was rejected. Corrective action: In the 'beneficiary_optional_fields' object, set 'identification_value' to a string. */ ERROR_HOSTED_PAGE_BENEFICIARY_INVALID_IDENTIFICATION_VALUE = 'ERROR_HOSTED_PAGE_BENEFICIARY_INVALID_IDENTIFICATION_VALUE', /** * The request attempted to create a beneficiary with a hosted page, but the type of entity for the beneficiary was not recognized. The request was rejected. Corrective action: Set 'beneficiary_entity_type' to 'individual' or 'company'. */ ERROR_HOSTED_PAGE_INVALID_BENEFICIARY_ENTITY_TYPE = 'ERROR_HOSTED_PAGE_INVALID_BENEFICIARY_ENTITY_TYPE', };