Devices

Simulate device interaction

Only available in the Rainforest sandbox environment.

After presenting a payin or payment method on a virtual device this endpoint is available to move on from the PRESENTING status to a desired subsequent status.

The expected webhook will be sent for the payin or payment method on status change.

post/v1/device_registrations/{device_registration_id}/simulate

Parameters

#/paths/~1v1~1payins/get/parameters/0 — unresolved $ref
#/paths/~1v1~1device_registrations~1%7Bdevice_registration_id%7D/get/parameters/1 — unresolved $ref

Request body

event'PRESENTED' | 'CANCEL'

Event to simulate

card'VISA_SUCCESS' | 'VISA_42_SUCCESS' | 'VISA_DEBIT_SUCCESS' | 'MC_SUCCESS' | 'MC_2_SUCCESS' | 'MC_DEBIT_SUCCESS' | 'MC_PREPAID_SUCCESS' | 'AMEX_SUCCESS' | 'AMEX_2_SUCCESS' | 'AMEX_DEBIT_SUCCESS' | 'DISCOVER_SUCCESS' | 'DISCOVER_2_SUCCESS' | 'DISCOVER_DEBIT_SUCCESS' | 'DINERS_SUCCESS' | 'DINERS_14_SUCCESS' | 'JCB_SUCCESS' | 'CUP_SUCCESS' | 'CB_VISA_SUCCESS' | 'CB_MC_SUCCESS' | 'GENERIC_DECLINE' | 'INSUFFICIENT_FUNDS' | 'LOST_CARD' | 'STOLEN_CARD' | 'EXPIRED_CARD' | 'INCORRECT_CVC' | 'PROCESSING_ERROR' | 'INCORRECT_NUMBER'

Name of card to use

Response

OK

Changes