Transaction processing

When Calypso receives a client deposit you will receive webhooks with transaction statuses:

  • The transaction pending in the mempool (not guaranteed) - CUSTOMER_PURSE_MEM_POOL_FOUND

  • Transaction under compliance check - CUSTOMER_PURSE_PENDING_COMPLIANCE

  • The transaction failed compliance check and the deposit address is blocked for further deposits - CUSTOMER_PURSE_COMPLIANCE_DECLINED (transactionState: DECLINED)

  • Transaction received successfully - CUSTOMER_PURSE_FUNDS_RECEIVED_FOR_PURSE (transactionState: CONFIRMED)

  • After the transaction funds are credited to your company account, you will receive a webhook - CUSTOMER_PURSE_TRANSLATION_TO_ACCOUNT_COMPLETED (In the transaction information, the "translationToAccountCompleted" parameter will change to "true")

  • After receiving webhooks with terminal statuses, check the transaction details and confirm the status using the method - [POST] purse-transaction

Sequence

Transaction states

Status
Сompliance State
Description

MEM_POOL_FOUND (not guaranteed)

UNCHECKED

The transaction pending in the mempool.

PENDING_COMPLIANCE_CHECK

IN_PROGRESS

Transaction under compliance check.

DECLINED

DECLINE

The transaction failed compliance check.

CONFIRMED

CHECKED

Transaction received successfully.

Get Customer Purse Transaction example - [POST] customer-purse/transaction/get

Example of the get transaction data request:

  • Pass the required parameters in the request - "account/transactionId".

Example of the get transaction data response:

Webhook data examples:

CUSTOMER_PURSE_FUNDS_RECEIVED_FOR_PURSE

CUSTOMER_PURSE_TRANSLATION_TO_ACCOUNT_COMPLETED

Last updated