wallet:transactions:send
scope.
When 2FA is required, the API responds with a 402
status and two_factor_required
error. To successfully complete the request, you must make the same request again with the user’s 2FA token in the CB-2FA-TOKEN
header together with the current access token.
Here’s a step by step example:
POST api.coinbase.com/v2/accounts/primary/transactions
.402
and sends the user a 2FA token via SMS if he doesn’t have Authy installed.CB-2FA-TOKEN
header.201 CREATED
status code is returned.