Withdraw

List Provider

Mendapatkan daftar metode withdraw yang tersedia.

GET /api/withdraw/list

Endpoint ini mengembalikan daftar provider/metode withdraw yang tersedia. Gunakan code dari method untuk parameter methode pada endpoint Create Withdraw.

Query Parameters

Parameter Type Required Description
apikey string Required API Key akun Anda

Contoh URL

URL
https://orcapay.web.id/api/withdraw/list?apikey=API_KEY

Contoh Response

JSON · 200 OK
{
  "status": true,
  "message": "Berhasil mengambil metode withdraw",
  "data": {
    "methods": [
      { "code": "DANA",      "name": "DANA" },
      { "code": "OVO",       "name": "OVO" },
      { "code": "GOPAY",     "name": "GoPay" },
      { "code": "SHOPEEPAY", "name": "ShopeePay" }
    ]
  }
}

Response Fields

Field Type Description
data.methods[]arrayArray berisi metode withdraw
.codestringKode metode (untuk parameter methode)
.namestringNama display metode withdraw

Contoh Request

cURL

                    
Deposit
Withdraw

Create Withdraw

Membuat request penarikan saldo baru.

GET /api/withdraw/create

Buat request penarikan saldo dengan menentukan amount, metode, dan nomor rekening. Saldo akan langsung dipotong saat request dibuat.

Query Parameters

Parameter Type Required Description
apikey string Required API Key akun Anda
amount number Required Nominal penarikan (lihat min/max dari server)
methode string Required Kode metode (contoh: DANA, OVO)
account_number string Required Nomor rekening / nomor HP

Contoh URL

URL
https://orcapay.web.id/api/withdraw/create?apikey=API_KEY&amount=50000&methode=DANA&account_number=08123456789

Contoh Response

JSON · 200 OK
{
  "status": true,
  "message": "Withdraw berhasil dibuat",
  "data": {
    "id": "WD-ABC123456",
    "provider": "DANA",
    "account_number": "08123456789",
    "amount": 50000,
    "amount_formatted": "Rp 50.000",
    "fee": 0,
    "status": "pending",
    "balance": 100000,
    "balance_formatted": "Rp 100.000",
    "created_at": "2026-09-24T05:12:35.000Z"
  }
}

Response Fields

Field Type Description
data.idstringID unik withdrawal
data.providerstringKode provider
data.account_numberstringNomor rekening tujuan
data.amountnumberNominal penarikan
data.amount_formattedstringNominal format Rupiah
data.feenumberBiaya admin
data.statusstringStatus withdrawal
data.balancenumberSaldo terbaru setelah dipotong
data.balance_formattedstringSaldo format Rupiah
data.created_atstringWaktu dibuat (ISO 8601)
Catatan
Saldo akan langsung dipotong saat request berhasil. Pastikan nominal antara min dan max yang ditentukan server.

Contoh Request

cURL

                    
Withdraw

Check Status

Cek status withdrawal berdasarkan ID.

GET /api/withdraw/status

Periksa status withdrawal menggunakan ID. Response akan berisi status terkini dan catatan admin (jika ada).

Query Parameters

Parameter Type Required Description
apikey string Required API Key akun Anda
id string Required ID withdrawal (contoh: WD-ABC123456)

Contoh URL

URL
https://orcapay.web.id/api/withdraw/status?apikey=API_KEY&id=WD-ABC123456

Contoh Response

JSON · 200 OK
{
  "status": true,
  "message": "Berhasil mengambil status withdraw",
  "data": {
    "id": "WD-ABC123456",
    "provider": "DANA",
    "account_number": "08123456789",
    "account_name": "-",
    "amount": 50000,
    "amount_formatted": "Rp 50.000",
    "fee": 0,
    "status": "pending",
    "admin_note": null,
    "processed_at": null,
    "created_at": "2026-09-24T05:12:35.000Z",
    "updated_at": "2026-09-24T05:12:35.000Z"
  }
}

Response Fields

Field Type Description
data.idstringID unik withdrawal
data.providerstringKode provider
data.account_numberstringNomor rekening tujuan
data.account_namestringNama pemilik rekening
data.amountnumberNominal penarikan
data.amount_formattedstringNominal format Rupiah
data.feenumberBiaya admin
data.statusstringpending, berhasil, gagal
data.admin_notestring | nullCatatan dari admin (jika ada)
data.processed_atstring | nullWaktu diproses
data.created_atstringWaktu dibuat
data.updated_atstringWaktu terakhir diupdate

Contoh Request

cURL

                    
Next: Balance