developer.f8pay.asia
Open in
urlscan Pro
54.152.108.198
Public Scan
URL:
https://developer.f8pay.asia/
Submission: On August 31 via api from US — Scanned from IT
Submission: On August 31 via api from US — Scanned from IT
Form analysis
0 forms found in the DOMText Content
* Body * Headers (1) * Body * Headers (0) Public Documentation Settings ENVIRONMENT Production LAYOUT Double Column LANGUAGE cURL - cURL F8Pay API Documentation Introduction Deposit Request Signature🔒 Deposit Callback Signature🔒 Deposit Bank Bot🤖 Manual Deposit (CDM)🏧 F8PAY API DOCUMENTATION 👋 HELLO DEVELOPERS, 🌟 THIS IS F8PAY, AND WE'RE EXCITED TO SHARE WITH YOU THE DETAILS OF OUR API DOCUMENTATION FOR THE BANK BOT AND MANUAL DEPOSIT PAYMENT GATEWAY. 🚀 PLEASE FIND ALL THE RELEVANT INFORMATION BELOW. 💻 HAPPY CODING! ✨ DEPOSIT REQUEST SIGNATURE🔒 🔐 How to Create a Signature Using MD5 Hashing To create a sign using MD5 hashing, follow these steps: * 🔗 Concatenate the following values in this order, separated by the | character: * partner_code * secret * order_id * amount * 🧩 The resulting string should look like this: |partner_code|secret|order_id|amount| * ⚙️ Apply the MD5 hashing algorithm to the concatenated string. Here’s how you can do it in different programming languages: View More csharp using System; using System.Security.Cryptography; using System.Text; class Program { static void Main() { string partnerCode = "your_partner_code"; string secret = "your_secret"; string orderId = "your_order_id"; string amount = "your_amount"; string toHash = "|" + partnerCode + "|" + secret + "|" + orderId + "|" + amount + "|"; using (MD5 md5 = MD5.Create()) { byte[] inputBytes = Encoding.UTF8.GetBytes(toHash); byte[] hashBytes = md5.ComputeHash(inputBytes); StringBuilder sb = new StringBuilder(); foreach (byte b in hashBytes) { sb.Append(b.ToString("x2")); } Console.WriteLine(sb.ToString()); } } } View More php $partner_code = "your_partner_code"; $secret = "your_secret"; $order_id = "your_order_id"; $amount = "your_amount"; $signature = md5("|" . $partner_code . "|" . $secret . "|" . $order_id . "|" . $amount . "|"); echo $signature; ?> View More java import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class MD5Example { public static void main(String[] args) { String partnerCode = "your_partner_code"; String secret = "your_secret"; String orderId = "your_order_id"; String amount = "your_amount"; String toHash = "|" + partnerCode + "|" + secret + "|" + orderId + "|" + amount + "|"; try { MessageDigest md = MessageDigest.getInstance("MD5"); md.update(toHash.getBytes()); byte[] digest = md.digest(); StringBuilder sb = new StringBuilder(); for (byte b : digest) { sb.append(String.format("x", b & 0xff)); } System.out.println(sb.toString()); } catch (NoSuchAlgorithmException e) { e.printStackTrace(); } } } DEPOSIT CALLBACK SIGNATURE🔒 🔐 To validate the callback signature, you need to generate a signature on your end and compare it with the provided signature. Follow these steps:EndFragment * 🔗 Concatenate the following values in this order, separated by the | character: * partner_code * secret * ordID * amount * status * ranking ("-" if not available) * 🧩 The resulting string should look like this: |partner_code|secret|order_id|amount|status|ranking * ⚙️ Apply the MD5 hashing algorithm to the concatenated string. DEPOSIT BANK BOT🤖 POSTDEPOSIT REQUEST https://f8pay.asia/api/v3/send-deposit 🌟 This endpoint allows you to initiate a deposit request for the 🏦 Deposit Bank Bot. 😊 View More Field Name Type Required Value partner_code string Y Your golden partner code 🗝️ to access our API! Be sure to replace {PARTNER_CODE} with the partner code you received from our super-friendly support team. 💌 order_id string Y The unique identifier 📜 for this transaction. This will be the Order ID (Transaction ID) generated from your end. amount string Y The amount of funds 💰 you wish to deposit. Make sure it’s a positive number signature string Y Refer to Deposit Request Signnature🔒 return_url string Y The postback URL 📡 where our system will send a request to get the redirect URL back to your front-end website after a success ✅, rejection ❌, or error ⚠️. backend_url string Y The callback URL 📡 where our system will send the deposit results for verification Bodyurlencoded partner_code {PARTNER_CODE} order_id {ORDER_ID} amount {AMOUNT} signature {SIGNATURE} return_url {RETURN_URL} backend_url {BACKEND_URL} Example Request Deposit Request curl curl --location 'https://f8pay.asia/api/v3/send-deposit' \ --data-urlencode 'partner_code={PARTNER_CODE}' \ --data-urlencode 'order_id={ORDER_ID}' \ --data-urlencode 'amount={AMOUNT}' \ --data-urlencode 'signature={SIGNATURE}' \ --data-urlencode 'return_url={RETURN_URL}' \ --data-urlencode 'backend_url={BACKEND_URL}' Example Response * Body * Headers (1) View More html <!DOCTYPE html> <html> <head> <title>F8PAY</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="_token" content="uqFAPm7RwTxcXJQ8GtubIlEhTbclVJQHB1fFEOcF"> <link rel="shortcut icon" href="https://f8pay.asia/images/logo-f8pay.png"> </head> <body> </body> </html> Content-Type text/html POSTBACKEND URL CALLBACK https://{BACKEND_URL} BACKEND URL is the API endpoint that from your system that submit by using deposit request API endpoint Our system will using POST method to the BACKEND URL by following json format: View More Field Name Type Value ordID string The order id that submitted in deposit request trans_id string {AUTO_GENERATED_TRANSACTION_ID} amount decimal The amount that submitted in deposit request status integer 0 Pending 1 Success 2 Rejected 3 Failed 100 Expired Session messages string Meesages field, can be ignored data1 string data1 field, can be ignored data2 string data2 field, can be ignored client_balance decimal client_balance, can be ignored ranking string ranking, can be ignored signature string Refer to Deposit Callback Signature🔒 After receiving the callback, your system must validate the information and signature, then perform the necessary actions on the transaction in your system and respond as follows: 📩 Field Name Type Value status integer 1 Success messages string Success Bodyraw (json) json { "status":1, "messages":"Success" } Example Request BACKEND URL CALLBACK curl curl --location -g 'https://{BACKEND_URL}' \ --data '{ "status":1, "messages":"Success" }' Example Response * Body * Headers (0) No response body This request doesn't return any response body No response headers This request doesn't return any response headers