IBAN cash-in to the GnosisPay Account via Monerium
"available": false
, the flow ends here.
"success": true
and it will take 3+ minutes (due to the delay module that verifies the signature and ownership of the address) for the new Monerium account to be created;POST
will return a 422
error with the following body:externalApiCallStatusCode == 304
.
After the User approves our access to their existing account, the background job will pick up from there and user will be redirected to the provided callback URL.Another way to get the redirect URL if user has Monerium profile already is to use the /api/v1/ibans/oauth/redirect_url
endpoint.callbackUrl
should always be sent as query parameter in both the cases.ASSIGNED
:IBAN Status | Description | Action |
---|---|---|
NOTSTARTED | Initial state when the user hasn’t started the IBAN creation process yet | User needs to initiate the IBAN creation process |
PENDING | IBAN creation has been initiated and is being processed by Monerium | Wait for the process to complete, periodically check the status |
PENDING_OAUTH | User has an existing Monerium profile and needs to authorize GnosisPay via OAuth | Redirect the user to the OAuth URL provided in the response |
ASSIGNED | IBAN has been successfully created and assigned to the user | IBAN is ready to use for cash-in transactions |
GET /api/v1/ibans/signing-message