---
updatedAt: 2026-07-03T15:35:30.000Z
agentTools:
  projectIndex: https://documentation.prestmit.io/llms.txt
---

# Create Withdrawal Request

Create a new withdrawal request for the user.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Prestmit - Partners API",
    "description": "The Prestmit Partners API lets you plug gift-card trading into your product with a few endpoints. Partners can create and track gift-card sell/buy trades, query live rates and availability, and move funds to supported payout rails — all over a stable, JSON-based interface.\n\n**Environments & base URLs**\n\n- **Staging:** `https://dev-2025.prestmit.io/api/partners/v1`\n    \n- **Production:** `https://prestmit.com/api/partners/v1`\n    \n\n**What you can do**\n\n- **Check platform status** before you act (e.g., whether buy/sell, BTC/USDT, or fiat withdrawals are currently available). This helps you gate features in your app.\n    \n- **Trade gift cards (Sell/Buy)**: start a trade for your user and track status through history endpoints.\n    \n- **Fetch rate-calculator data in one call**: categories, sellable/buyable cards, payout methods (NAIRA, CEDIS, BITCOINS, USDT), and conversion hints so you can mirror our calculator UI/logic on your side.\n    \n- **Lookups & utilities**: get bank list for payouts and other lookups to keep your local UI selections in sync with Prestmit.\n    \n- **See current commissions/fees** applied to partner trades, so you can show accurate totals to users.\n    \n\n**Key endpoints in this collection (high-level)**\n\n- **General**\n    \n    - `GET /general/service-availability` – feature flags for core services.\n        \n    - `GET /general/commissions-and-fees` – partner commission/fee percentages.\n        \n    - `GET /general/user` – partner account snapshot (balances, 2FA flags, etc.).\n        \n    - `GET /general/nigerian-banks` – supported NUBAN banks (for payouts).\n        \n- **Gift Card Trade**\n    \n    - **Sell**: `POST /giftcard-trade/sell/create` to start a trade (supports `attachments[]`, optional `uniqueIdentifier`), plus `GET /giftcard-trade/sell/history` for pagination and status tracking.\n        \n    - **Rates**: `GET /giftcard-trade/sell/rate-calculator-data` bundles categories, sellable cards, payout methods, and conversion notes in one response.\n        \n- **Lookup**\n    \n    - Category/card metadata for building your own selectors.\n        \n\n**Reliability patterns built in**\n\n- **Feature gating:** Call **Service Availability** first and conditionally show actions in your app.\n    \n- **Idempotency via references:** Use `uniqueIdentifier` when creating trades so you can reconcile your records with Prestmit’s references later. (See Sell/Create example request.)\n    \n- **Pagination:** History endpoints return standard `links`/`meta` blocks for paging.\n    \n\n**Auth & headers**\n\nAll requests are JSON over HTTPS. Endpoints in this collection show standard `Accept`/`Content-Type` headers; use your partner credentials as described in the Authentication section of the docs (add your key to the Authorization header).\n\n**Who this API is for**  \nFintechs, wallets, and marketplaces that want to let users sell or buy gift cards inside their own product while offloading KYC, pricing, and fulfillment overhead to Prestmit.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://dev-api.prestmit.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "API_KEY": {
        "type": "apiKey",
        "in": "header",
        "name": "API-KEY",
        "description": "Enter your API KEY here."
      }
    }
  },
  "security": [
    {
      "API_KEY": []
    }
  ],
  "tags": [
    {
      "name": "Fiat Wallets",
      "description": "Endpoints for interacting with users' fiat currency wallets.\n\nRead balances and earnings for supported fiat wallets (e.g., **NAIRA**, **CEDIS**). These endpoints let you display wallet details and earning breakdowns, and are commonly used alongside withdrawals/bank accounts to complete the funds lifecycle."
    }
  ],
  "paths": {
    "/partners/v1/wallet/fiat/create-withdrawal": {
      "post": {
        "tags": [
          "Fiat Wallets"
        ],
        "summary": "Create Withdrawal Request",
        "description": "Create a new withdrawal request for the user.",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "bankAccountId": {
                    "type": "integer",
                    "description": "Id of the bank account to withdraw to",
                    "example": "9"
                  },
                  "amount": {
                    "type": "integer",
                    "description": "Amount to withdraw. Minimum of 1000 Naira",
                    "example": "2700"
                  },
                  "current_password": {
                    "type": "string",
                    "description": "(DEPRECATED) Account password. Kindly transition to the new 'currentAccountPIN' field as soon as possible.",
                    "example": "password"
                  },
                  "currentAccountPIN": {
                    "type": "integer",
                    "description": "(NEW) Current user account PIN. This would be used in the absence of the 'current_password' and is going to be the only way to authorise a new withdrawal request in the future.",
                    "example": "1001"
                  },
                  "2fa_code": {
                    "type": "integer",
                    "description": "Withdrawal 2FA code. Provide 6 zeroes i.e. 000000 if the user does not have withdrawal two factor turned on.",
                    "example": "000000"
                  },
                  "wallet": {
                    "type": "string",
                    "description": "One of 'NAIRA', 'CEDIS'. Use the  'Fiat Currency Wallets' endpoint for full list.",
                    "example": "NAIRA"
                  },
                  "uniqueIdentifier": {
                    "type": "string",
                    "description": "Optional unique identifier for linking this withdrawal record to your system. This could be tied to an internal reference or user identifier.",
                    "example": "153fbede-4f1b-4ac9-b648-982377c698a2"
                  },
                  "userNarration": {
                    "type": "string",
                    "description": "Optional transaction naration."
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "example": "application/json"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string",
                  "example": "Mon, 14 Jul 2025 11:38:53 GMT"
                }
              },
              "Server": {
                "schema": {
                  "type": "string",
                  "example": "Apache/2.4.54 (Debian)"
                }
              },
              "X-Powered-By": {
                "schema": {
                  "type": "string",
                  "example": "PHP/8.2.1"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "example": "no-cache, private"
                }
              },
              "X-Handled-By": {
                "schema": {
                  "type": "string",
                  "example": "e37e9c144976"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer",
                  "example": "30"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer",
                  "example": "25"
                }
              },
              "Access-Control-Allow-Origin": {
                "schema": {
                  "type": "string",
                  "example": "*"
                }
              },
              "Keep-Alive": {
                "schema": {
                  "type": "string",
                  "example": "timeout=5, max=100"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string",
                  "example": "Keep-Alive"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string",
                  "example": "chunked"
                }
              },
              "Content-Type": {
                "schema": {
                  "type": "string",
                  "example": "application/json"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "examples": {
                  "example-0": {
                    "summary": "Success - Cedis",
                    "value": {
                      "success": true,
                      "details": "Withdrawal request created",
                      "withdrawalRequest": {
                        "id": 51,
                        "amount": "2700.00",
                        "wallet": "CEDIS",
                        "status": "PENDING",
                        "transactionSource": "partners_api",
                        "partnersApiIdentifier": "153fbede-4f1b-4ac9-b648-982377c698a1",
                        "rejectReason": null,
                        "createdAt": "2025-07-14T11:38:54+00:00",
                        "bankAccount": {
                          "id": 9,
                          "bank": "MTN",
                          "bankType": "mobile_money",
                          "accountNumber": "0551234987",
                          "accountName": "Elyssa Herzog",
                          "status": "ACTIVE",
                          "createdAt": "2025-06-08T00:38:14+00:00",
                          "updatedAt": "2025-06-08T00:38:14+00:00"
                        }
                      }
                    }
                  },
                  "example-1": {
                    "summary": "Success - Naira",
                    "value": {
                      "success": true,
                      "details": "Withdrawal request created",
                      "withdrawalRequest": {
                        "id": 249,
                        "amount": "1700.00",
                        "wallet": "NAIRA",
                        "status": "PENDING",
                        "transactionSource": "partners_api",
                        "partnersApiIdentifier": "153fbede-4f1b-4ac9-b648-982377c698a1",
                        "rejectReason": null,
                        "createdAt": "2025-07-14T11:45:13+00:00",
                        "bankAccount": {
                          "id": 9,
                          "bank": "First Bank",
                          "accountNumber": "0292002811",
                          "accountName": "ANIBOR JERAHMEEL OVIE",
                          "status": "ACTIVE",
                          "nigerianBank": {
                            "id": 2,
                            "name": "First Bank",
                            "available": true
                          },
                          "createdAt": "2024-01-23T17:46:00+00:00",
                          "updatedAt": "2024-01-23T17:46:00+00:00"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "headers": {
              "Date": {
                "schema": {
                  "type": "string",
                  "example": "Sat, 13 Feb 2021 00:39:25 GMT"
                }
              },
              "Server": {
                "schema": {
                  "type": "string",
                  "example": "Apache"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "example": "no-cache, private"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer",
                  "example": "100"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer",
                  "example": "99"
                }
              },
              "Access-Control-Allow-Origin": {
                "schema": {
                  "type": "string",
                  "example": "*"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string",
                  "example": "Authorization"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string",
                  "example": "close"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string",
                  "example": "chunked"
                }
              },
              "Content-Type": {
                "schema": {
                  "type": "string",
                  "example": "application/json"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "success": false,
                  "details": "Invalid withdrawal two factor code provided."
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "headers": {
              "Server": {
                "schema": {
                  "type": "string",
                  "example": "nginx/1.19.8"
                }
              },
              "Content-Type": {
                "schema": {
                  "type": "string",
                  "example": "application/json"
                }
              },
              "Transfer-Encoding": {
                "schema": {
                  "type": "string",
                  "example": "chunked"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string",
                  "example": "keep-alive"
                }
              },
              "X-Powered-By": {
                "schema": {
                  "type": "string",
                  "example": "PHP/7.4.19"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "example": "no-cache, private"
                }
              },
              "Date": {
                "schema": {
                  "type": "string",
                  "example": "Tue, 06 Jul 2021 21:01:05 GMT"
                }
              },
              "X-RateLimit-Limit": {
                "schema": {
                  "type": "integer",
                  "example": "100"
                }
              },
              "X-RateLimit-Remaining": {
                "schema": {
                  "type": "integer",
                  "example": "99"
                }
              },
              "Access-Control-Allow-Origin": {
                "schema": {
                  "type": "string",
                  "example": "*"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "message": "The given data was invalid.",
                  "errors": {
                    "wallet": [
                      "Provided wallet is invalid. Only one of NAIRA, CEDIS is allowed"
                    ]
                  }
                }
              }
            }
          }
        },
        "operationId": "post_partners-v1-wallet-fiat-create-withdrawal"
      }
    }
  },
  "x-readme": {}
}
```