PomeloEx.DigitalAccounts.Accounts (PomeloEx v0.1.0)

View Source

Digital account lifecycle management.

Provides endpoints for creating, deleting, and updating the status of digital accounts. Accounts support states: ACTIVE, FROZEN, DISABLED, and DELETED.

Summary

Functions

Create account The endpoint /core/accounts/v1 allows you to create a digital account for a Pomelo user.

Delete Account The /core/accounts/v1/{id} endpoint lets you delete a specific account. Its status will be changed to DELETED and can no longer be used to make transactions.

Update account status The endpoint /core/accounts/v1/{id} will be useful for changing the status of an account. Account states can be changed to ACTIVE, FROZEN or DISABLED. For the last two statuses, it is necessary to indicate the reason for the status change using the property status_update_motive.Find more information about account statuses in our documentation.

Functions

create_account(payload)

Create account The endpoint /core/accounts/v1 allows you to create a digital account for a Pomelo user.

delete_account(payload)

Delete Account The /core/accounts/v1/{id} endpoint lets you delete a specific account. Its status will be changed to DELETED and can no longer be used to make transactions.

update_account_status(payload)

Update account status The endpoint /core/accounts/v1/{id} will be useful for changing the status of an account. Account states can be changed to ACTIVE, FROZEN or DISABLED. For the last two statuses, it is necessary to indicate the reason for the status change using the property status_update_motive.Find more information about account statuses in our documentation.