OnlyFans API
Banking

Get Bank Payout Details

Returns the account owner's bank payout details, including whether payout data is filled, available payout methods with their descriptions, and required bank fields.

GET
/api/{account}/banking/details/bank
AuthorizationBearer <token>

You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.

In: header

Path Parameters

accountstring

The Account ID

Response Body

curl -X GET "https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/banking/details/bank"
fetch("https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/banking/details/bank")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/banking/details/bank"

  req, _ := http.NewRequest("GET", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/banking/details/bank"

response = requests.request("GET", url)

print(response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.http.HttpResponse.BodyHandlers;
import java.time.Duration;

HttpClient client = HttpClient.newBuilder()
  .connectTimeout(Duration.ofSeconds(10))
  .build();

HttpRequest.Builder requestBuilder = HttpRequest.newBuilder()
  .uri(URI.create("https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/banking/details/bank"))
  .GET()
  .build();

try {
  HttpResponse<String> response = client.send(requestBuilder.build(), BodyHandlers.ofString());
  System.out.println("Status code: " + response.statusCode());
  System.out.println("Response body: " + response.body());
} catch (Exception e) {
  e.printStackTrace();
}
using System;
using System.Net.Http;
using System.Text;

var client = new HttpClient();
var response = await client.GetAsync("https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/banking/details/bank");
var responseBody = await response.Content.ReadAsStringAsync();
{
  "data": {
    "isPayoutDataFilled": true,
    "payouts": [
      {
        "code": "bank_ebics_sepa",
        "title": "International Transfer (SEPA)",
        "subtitle": "Receive payouts directly to your bank account via SEPA payments",
        "minPayoutSumm": 20,
        "payoutTime": "1-3 business days",
        "description": "No limits on number of daily withdrawals (No maximum)\nPayouts are paid directly into your bank account via the SEPA banking system\nAny SEPA bank account",
        "fields": {
          "first_name": {
            "readonly": true,
            "value": "********",
            "label": {
              "key": "bank_recipient_name_title"
            },
            "maxlength": 255,
            "oninput": {
              "replace": {
                "pattern": "[^ a-zA-Z0-9_-]",
                "flag": "g"
              }
            }
          },
          "last_name": {
            "readonly": true,
            "value": "********",
            "label": {
              "key": "bank_recipient_last_name_title"
            },
            "maxlength": 255,
            "oninput": {
              "replace": {
                "pattern": "[^ a-zA-Z0-9_-]",
                "flag": "g"
              }
            }
          },
          "iban": {
            "required": true,
            "label": {
              "key": "bank_iban_title"
            },
            "regex": {
              "pattern": "^[A-Za-z0-9]{1,34}$",
              "flag": "g"
            },
            "value": "********1234"
          },
          "bic": {
            "required": true,
            "label": {
              "key": "bank_bic_swift_title"
            },
            "maxlength": 70,
            "value": "********"
          },
          "bank_name": {
            "required": true,
            "label": {
              "key": "bank_bank_name_title_new"
            },
            "maxlength": 70,
            "value": "Bank name"
          },
          "country": {
            "label": {
              "key": "country_label"
            },
            "readonly": true,
            "uionly": true,
            "value": "Country"
          },
          "address": {
            "required": true,
            "label": {
              "key": "bank_user_address_title"
            },
            "maxlength": 255,
            "value": "********"
          },
          "city": {
            "required": true,
            "label": {
              "key": "bank_user_city_title"
            },
            "maxlength": 255,
            "value": "City value"
          },
          "postal": {
            "required": true,
            "label": {
              "key": "bank_user_postal_zip_title"
            },
            "maxlength": 255,
            "value": "********"
          }
        },
        "fieldsOrder": [
          "first_name",
          "last_name",
          "iban",
          "bic",
          "bank_name",
          "country",
          "address",
          "city",
          "postal"
        ],
        "uiMapping": {
          "title": {
            "key": "add_bank_page_title"
          },
          "alert": {
            "text": {
              "key": "payout_add_bank_paxum_hint"
            },
            "class": "info"
          },
          "btn_submit": {
            "key": "save_payout_details_button"
          }
        }
      }
    ],
    "payoutCode": "bank_ebics_sepa"
  },
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 1000000006,
      "note": "Always"
    },
    "_cache": {
      "is_cached": false,
      "note": "Cache disabled for this endpoint"
    },
    "_rate_limits": {
      "limit_minute": 10000000,
      "limit_day": 50000,
      "remaining_minute": 9999999,
      "remaining_day": 49954
    }
  }
}