Submit Fiat Withdrawal Request

Endpoint: /api/v1/fiat/withdraw

  • Method: POST
  • Description: This endpoint allows users to request the withdrawal of fiat currency from their account. Once the system receives and validates the request, it processes the withdrawal and returns the status of the operation.
  • Headers:
    • X-ORG-CODE (string): Required. The organization's unique code.
    • X-CUSTOMERID (string): Required. The customer’s unique identifier.
  • Request Body:
    • FiatWithdrawRequest: The model containing details of the withdrawal request.
      Responses:
    • 200 OK: Successful operation, returns a FiatWithdrawResponse.
    • 400 Bad Request: The request was invalid, returns an Error object.
    • 500 Internal Server Error: The server encountered an unexpected condition, returns an Error object.
    • `Security: Requires authentication via test-cognito-auth.