Delete Payout Method
Delete a payout method associated with a specific Fansly account.
This endpoint deletes a payout method associated with a specific Fansly account.
Two-Factor Authentication
This endpoint may occasionally require Two-Factor Authentication (2FA) for sensitive operations, though this is not frequently triggered. When required, you must first obtain and verify a code via the Send OTP and Verify OTP endpoints. Once verified, you can proceed with this request normally.
Get Started
All requests to the Fansly API require an API Key. See the Authentication page for details.
curl -X DELETE "https://v1.apifansly.com/api/fansly/{account_id}/payout/delete" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"payoutMethodId": "87581xxxxxxxxxxxxxx",
"twofa": {
"code": "",
"token": ""
}
}'fetch("https://v1.apifansly.com/api/fansly/{account_id}/payout/delete", {
method: "DELETE",
headers: {
"x-api-key": "YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
"payoutMethodId": "87581xxxxxxxxxxxxxx",
"twofa": {
"code": "",
"token": ""
}
})
})import requests
url = "https://v1.apifansly.com/api/fansly/{account_id}/payout/delete"
headers = {
"x-api-key": "YOUR_API_KEY",
"Content-Type": "application/json"
}
data = {
"payoutMethodId": "87581xxxxxxxxxxxxxx",
"twofa": {
"code": "",
"token": ""
}
}
response = requests.delete(url, headers=headers, json=data)
print(response.json())import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
String jsonBody = "{\"payoutMethodId\": \"87581xxxxxxxxxxxxxx\", \"twofa\": {\"code\": \"\", \"token\": \"\"}}";
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://v1.apifansly.com/api/fansly/{account_id}/payout/delete"))
.header("x-api-key", "YOUR_API_KEY")
.header("Content-Type", "application/json")
.method("DELETE", HttpRequest.BodyPublishers.ofString(jsonBody))
.build();
client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
.thenApply(HttpResponse::body)
.thenAccept(System.out::println)
.join();using System.Net.Http;
using System.Text;
using System.Text.Json;
var client = new HttpClient();
client.DefaultRequestHeaders.Add("x-api-key", "YOUR_API_KEY");
var json = JsonSerializer.Serialize(new {
payoutMethodId = "87581xxxxxxxxxxxxxx",
twofa = new {
code = "",
token = ""
}
});
var content = new StringContent(json, Encoding.UTF8, "application/json");
var request = new HttpRequestMessage(HttpMethod.Delete, "https://v1.apifansly.com/api/fansly/{account_id}/payout/delete") {
Content = content
};
var response = await client.SendAsync(request);
var responseString = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseString);package main
import (
"bytes"
"encoding/json"
"net/http"
"fmt"
"io/ioutil"
)
func main() {
url := "https://v1.apifansly.com/api/fansly/{account_id}/payout/delete"
values := map[string]interface{}{
"payoutMethodId": "87581xxxxxxxxxxxxxx",
"twofa": map[string]string{
"code": "",
"token": "",
},
}
jsonData, _ := json.Marshal(values)
req, _ := http.NewRequest("DELETE", url, bytes.NewBuffer(jsonData))
req.Header.Set("x-api-key", "YOUR_API_KEY")
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := ioutil.ReadAll(resp.Body)
fmt.Println(string(body))
}Path Variables
Request Body Parameters
The request body must be sent as JSON with the following parameters:
Response
When the payout method is successfully deleted, the API returns a success response with details about the deleted payout method.
{
"statusCode": 200,
"message": "Success",
"data": {
"status_code": 200,
"data": {
"success": true,
"response": {
"id": "87581xxxxxxxxxxxxxx",
"accountId": "86540xxxxxxxxxxxxxx",
"providerId": "2",
"type": 1,
"flags": 0,
"status": 3,
"metadata": "{\"email\":\"xxxxxxxxxxxx@example.com\"}",
"version": 0,
"deletedAt": xxxxxxxxxxxxx
}
}
},
"timestamp": "2026-02-05T15:45:10.984Z"
}Important Notes
Irreversible Action
Deleting a payout method is typically an irreversible action. Ensure you have the correct payoutMethodId before making the request.
Response Fields
| Field | Type | Description |
|---|---|---|
statusCode | integer | HTTP status code |
message | string | Response message |
data.success | boolean | Indicates if the deletion was successful |
data.response.id | string | The ID of the deleted payout method |
data.response.accountId | string | The account ID associated with the payout method |
data.response.status | integer | The status of the payout method (3 = deleted) |
data.response.deletedAt | integer | Unix timestamp (in milliseconds) when the payout method was deleted |
data.response.metadata | string | JSON string containing additional payout method information |
timestamp | string | ISO 8601 timestamp of when the response was generated |