Authorizations
Enter your API key in the format x-api-key <api-key>*
Body
Create wallet request
alert_enabled is the flag to enable alerts for the wallet defaults to true, can be explicitly set to false to disable alerts
disabled
, balance_below_threshold
amount in the currency = number of credits * conversion_rate ex if conversion_rate is 1, then 1 USD = 1 credit ex if conversion_rate is 2, then 1 USD = 0.5 credits ex if conversion_rate is 0.5, then 1 USD = 2 credits
external_customer_id is the customer id in the external system
initial_credits_expiry_date_utc is the expiry date in UTC timezone (optional to set nil means no expiry) ex 2025-01-01 00:00:00 UTC
initial_credits_to_load is the number of credits to load to the wallet if not provided, the wallet will be created with 0 balance NOTE: this is not the amount in the currency, but the number of credits
initial_credits_to_load_expiry_date YYYYMMDD format in UTC timezone (optional to set nil means no expiry) for ex 20250101 means the credits will expire on 2025-01-01 00:00:00 UTC hence they will be available for use until 2024-12-31 23:59:59 UTC
PROMOTIONAL
, PRE_PAID
Response
OK
disabled
, balance_below_threshold
active
, frozen
, closed
PROMOTIONAL
, PRE_PAID