# CreateSigningMethod\_EmergencyCode

This endpoint allows you to create a signing method for a user, whether it's their first or an additional one. The first signing method must always be a six-digit `PIN`, and does not require the `Signing-Method` to be passed in the header. For creating subsequent signing methods like `BIOMETRIC`/`EMERGENCY_CODE`/`PASSWORD`, include an existing valid `Signing-Method` in the request header.

{% code overflow="wrap" %}

```cpp
void CreateSigningMethod_EmergencyCode(FString UserId, const FVyUserAuth& SigningMethod, const FVyCreateSigningMethod_EmergencyCodeRequest& Params, const FVyOnCreateSigningMethod_EmergencyCodeComplete& OnComplete) const;
```

{% endcode %}

\
**Parameters**

| UserId        | FString                                                                                                                                                            | This is the \`UUID\` of user whose \*\*signing method\*\* you want to create.           |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------- |
| SigningMethod | FVyUserAuth                                                                                                                                                        | The Id and Value of one of the user's registered signing-methods                        |
| Params        | [FVyCreateSigningMethod\_EmergencyCodeRequest](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/wallet/fvycreatesigningmethod_emergencycoderequest) | Parameters for this operation (FVyCreateSigningMethod\_EmergencyCodeRequest)            |
| OnComplete    | FVyOnCreateSigningMethod\_EmergencyCodeComplete                                                                                                                    | The callback function called when the user preferences retrieval operation is complete. |

\
**OnComplete Callback** (FVyOnCreateSigningMethod\_EmergencyCodeComplete)\
Contains a TArray<[FVySigningMethodDto](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/wallet/fvysigningmethoddto)> response type
