improved
Decoupling user and order creation
3 months ago by Deepak Singh
We have made an important update to the Fiat Payin Orders API to improve modularity and flexibility.
Previously, the Fiat Payin Orders
API allowed the creation of both the user and the transaction in a single API call. This functionality has now been split into two separate APIs:
Step 1: Create Individual API
Use this API to create a user account in TransFi.
- Endpoint:
/v2/users/individual
- Description: This API creates a user profile and returns a
userId
in the response.
Step 2: Create Deposit Order API
Use this API to create a transaction for the user account created in the previous step.
- Endpoint:
/v2/orders/deposit
and/v2/orders/gaming
- Description: Use the
email
from theCreate User API
to initiate a deposit order.
Impact on Existing Customers
Breaking Change
The Fiat Payin Orders endpoint will no longer support on creating the user account after April 7, 2025. Requests will fail with the following error message and HTTP status code 404:
{
"message": "Unable to identify the user",
"code": "USER_NOT_FOUND"
}