Fulfillment inquiry
curl --request POST \
--url https://api-sandbox.waffoplay.com/api/v1/gamepin/fulfillment-inquiry \
--header 'Content-Type: application/json' \
--data '
{
"supplierId": "WAFFO_POINT_TOPUP_001",
"salesOrderId": "A123456",
"payOrderId": "G20250114064421745E079"
}
'import requests
url = "https://api-sandbox.waffoplay.com/api/v1/gamepin/fulfillment-inquiry"
payload = {
"supplierId": "WAFFO_POINT_TOPUP_001",
"salesOrderId": "A123456",
"payOrderId": "G20250114064421745E079"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
supplierId: 'WAFFO_POINT_TOPUP_001',
salesOrderId: 'A123456',
payOrderId: 'G20250114064421745E079'
})
};
fetch('https://api-sandbox.waffoplay.com/api/v1/gamepin/fulfillment-inquiry', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.waffoplay.com/api/v1/gamepin/fulfillment-inquiry",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'supplierId' => 'WAFFO_POINT_TOPUP_001',
'salesOrderId' => 'A123456',
'payOrderId' => 'G20250114064421745E079'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.waffoplay.com/api/v1/gamepin/fulfillment-inquiry"
payload := strings.NewReader("{\n \"supplierId\": \"WAFFO_POINT_TOPUP_001\",\n \"salesOrderId\": \"A123456\",\n \"payOrderId\": \"G20250114064421745E079\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-sandbox.waffoplay.com/api/v1/gamepin/fulfillment-inquiry")
.header("Content-Type", "application/json")
.body("{\n \"supplierId\": \"WAFFO_POINT_TOPUP_001\",\n \"salesOrderId\": \"A123456\",\n \"payOrderId\": \"G20250114064421745E079\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.waffoplay.com/api/v1/gamepin/fulfillment-inquiry")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"supplierId\": \"WAFFO_POINT_TOPUP_001\",\n \"salesOrderId\": \"A123456\",\n \"payOrderId\": \"G20250114064421745E079\"\n}"
response = http.request(request)
puts response.read_body{
"code": "0",
"msg": "success",
"data": {
"supplierId": "WAFFO_POINT_TOPUP_001",
"salesOrderId": "A123456",
"fulfillmentStatus": "SUCCESS",
"faceValue": "3000",
"requestedAt": "2025-01-05T10:30:00.000Z",
"amount": "3000",
"currency": "JPY",
"completedTime": "2025-01-05T10:32:00.000Z",
"buyerInfo": {
"supplierUserAccount": "supplier_user_12345"
},
"payMethodName": "DANA",
"payOrderId": "G20250114064421745E079",
"productId": "XX_POINT",
"failureCode": "PAYMENT_TIMEOUT",
"failureReason": "User did not complete payment within timeout period"
}
}Point Topup
Fulfillment inquiry
Lets the supplier query the fulfillment result of a Mode C order from Waffo Point Topup. This is the pull-based counterpart of the fulfillment event webhook, typically used for reconciliation or when a webhook notification was missed.
At least one of salesOrderId and payOrderId is required. If the order does not exist or does not belong to the supplier, an error is returned per the common error code spec.
Authentication uses the common API signature (SHA256WithRSA) carried in the X-SIGNATURE header.
POST
/
api
/
v1
/
gamepin
/
fulfillment-inquiry
Fulfillment inquiry
curl --request POST \
--url https://api-sandbox.waffoplay.com/api/v1/gamepin/fulfillment-inquiry \
--header 'Content-Type: application/json' \
--data '
{
"supplierId": "WAFFO_POINT_TOPUP_001",
"salesOrderId": "A123456",
"payOrderId": "G20250114064421745E079"
}
'import requests
url = "https://api-sandbox.waffoplay.com/api/v1/gamepin/fulfillment-inquiry"
payload = {
"supplierId": "WAFFO_POINT_TOPUP_001",
"salesOrderId": "A123456",
"payOrderId": "G20250114064421745E079"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
supplierId: 'WAFFO_POINT_TOPUP_001',
salesOrderId: 'A123456',
payOrderId: 'G20250114064421745E079'
})
};
fetch('https://api-sandbox.waffoplay.com/api/v1/gamepin/fulfillment-inquiry', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.waffoplay.com/api/v1/gamepin/fulfillment-inquiry",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'supplierId' => 'WAFFO_POINT_TOPUP_001',
'salesOrderId' => 'A123456',
'payOrderId' => 'G20250114064421745E079'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-sandbox.waffoplay.com/api/v1/gamepin/fulfillment-inquiry"
payload := strings.NewReader("{\n \"supplierId\": \"WAFFO_POINT_TOPUP_001\",\n \"salesOrderId\": \"A123456\",\n \"payOrderId\": \"G20250114064421745E079\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-sandbox.waffoplay.com/api/v1/gamepin/fulfillment-inquiry")
.header("Content-Type", "application/json")
.body("{\n \"supplierId\": \"WAFFO_POINT_TOPUP_001\",\n \"salesOrderId\": \"A123456\",\n \"payOrderId\": \"G20250114064421745E079\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.waffoplay.com/api/v1/gamepin/fulfillment-inquiry")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"supplierId\": \"WAFFO_POINT_TOPUP_001\",\n \"salesOrderId\": \"A123456\",\n \"payOrderId\": \"G20250114064421745E079\"\n}"
response = http.request(request)
puts response.read_body{
"code": "0",
"msg": "success",
"data": {
"supplierId": "WAFFO_POINT_TOPUP_001",
"salesOrderId": "A123456",
"fulfillmentStatus": "SUCCESS",
"faceValue": "3000",
"requestedAt": "2025-01-05T10:30:00.000Z",
"amount": "3000",
"currency": "JPY",
"completedTime": "2025-01-05T10:32:00.000Z",
"buyerInfo": {
"supplierUserAccount": "supplier_user_12345"
},
"payMethodName": "DANA",
"payOrderId": "G20250114064421745E079",
"productId": "XX_POINT",
"failureCode": "PAYMENT_TIMEOUT",
"failureReason": "User did not complete payment within timeout period"
}
}Body
application/json
Was this page helpful?