Resend Confirmation Code

POST https://api.sfox.com/v1/user/withdraw/resend-confirmation

Request a new withdrawal confirmation OTP code.

If a user does not receive an OTP code or if the code has expired, request a new code using this endpoint by including the transaction ID in the request body. Once requested, the user will receive an email with the new OTP code.

Authentication: This endpoint requires a User Auth Token for authentication. Requests using your Connect API Key will be rejected.

Body Parameters

Parameter
Type
Description

atx_id required

number

The transaction ID of the withdrawal you are requesting a code for

Response Body

Key
Description

success

Whether the request for a new confirmation code was successful or not

atx_id

The transaction ID of the withdrawal you are requesting a code for

tx_status

The transaction status of the withdrawal

Responses

200 OK
{
    "data": {
        "success": true,
        "atx_id": 1525616,
        "tx_status": 1100
    }
}
curl -X POST \
  -H 'Content-type: application/json' \
  -H "Authorization: Bearer ${USER_AUTH_TOKEN}" \
  --data '{ "atx_id": 987654 }'  \
  'https://api.sfox.com/v1/user/withdraw/resend-confirmation'

Last updated