SMS and Card2fa
Wyre requires two authentication codes:
- CARD2FA - A 6 digit code that's added immediately to the end user's bank account.
- SMS - A 6 digits sent to the user's mobile device.
The need for confirming codes are dynamic and are based on each order. You will need to confirm only codes that are requested. If the Authentication codes are not provided, the order will expire - the current expiration time is 10 minutes. When building your UI, you need to make it a real-time experience.
The GET request is only available until codes are still valid. After that, if you try to get authorization information in this endpoint we throw an error, check Card Exceptions]. The current limit of attempts to specify the code is 5 times. After this, you will receive back an error and the order will expire.
The node type
must be either SMS
, CARD2FA
or ALL
. When SMS
the node sms
is mandatory, when CARD2FA
the node card2fa
is mandatory, when ALL
both sms
and card2fa
are mandatory.
When any code failed due to any reason (max attempts, time expiration...) the order will also fail and card refunded. Failed orders cannot be resumed. These codes' needs might change at any time and based on the buyer's info.
- VERIFY ORDER AUTHORIZATION
Keep polling Wallet Order Details until the order's status isPROCESSING
orCOMPLETE
.
You can also receive updates via Webhooks, contact our sales team at [email protected] to set up your webhook configuration.
- TRACK WALLET ORDER
Once thetransferId
is returned it means the order was accepted and the transfer (blockchain transaction) is in progress.
To track its progress please check the transfer tracking documentation here https://docs.sendwyre.com/v3/docs/track-wallet-order
Test Data
You should provide your own test dummy data. Do not use the data in the samples.