Send a payment request
curl --request POST \
--url https://{deployment}/api/v1/paymint/request \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'X-Paymint-MMK-Mode: <api-key>' \
--data '
{
"product_nm": "Coaching session",
"message": "결제를 진행해 주세요.",
"member_nm": "홍길동",
"phone": "01012345678",
"price": 50000,
"expire_dt": "2026-07-15"
}
'import requests
url = "https://{deployment}/api/v1/paymint/request"
payload = {
"product_nm": "Coaching session",
"message": "결제를 진행해 주세요.",
"member_nm": "홍길동",
"phone": "01012345678",
"price": 50000,
"expire_dt": "2026-07-15"
}
headers = {
"X-API-KEY": "<api-key>",
"X-Paymint-MMK-Mode": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-API-KEY': '<api-key>',
'X-Paymint-MMK-Mode': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
product_nm: 'Coaching session',
message: '결제를 진행해 주세요.',
member_nm: '홍길동',
phone: '01012345678',
price: 50000,
expire_dt: '2026-07-15'
})
};
fetch('https://{deployment}/api/v1/paymint/request', 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://{deployment}/api/v1/paymint/request",
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([
'product_nm' => 'Coaching session',
'message' => '결제를 진행해 주세요.',
'member_nm' => '홍길동',
'phone' => '01012345678',
'price' => 50000,
'expire_dt' => '2026-07-15'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>",
"X-Paymint-MMK-Mode: <api-key>"
],
]);
$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://{deployment}/api/v1/paymint/request"
payload := strings.NewReader("{\n \"product_nm\": \"Coaching session\",\n \"message\": \"결제를 진행해 주세요.\",\n \"member_nm\": \"홍길동\",\n \"phone\": \"01012345678\",\n \"price\": 50000,\n \"expire_dt\": \"2026-07-15\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("X-Paymint-MMK-Mode", "<api-key>")
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://{deployment}/api/v1/paymint/request")
.header("X-API-KEY", "<api-key>")
.header("X-Paymint-MMK-Mode", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"product_nm\": \"Coaching session\",\n \"message\": \"결제를 진행해 주세요.\",\n \"member_nm\": \"홍길동\",\n \"phone\": \"01012345678\",\n \"price\": 50000,\n \"expire_dt\": \"2026-07-15\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{deployment}/api/v1/paymint/request")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["X-Paymint-MMK-Mode"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"product_nm\": \"Coaching session\",\n \"message\": \"결제를 진행해 주세요.\",\n \"member_nm\": \"홍길동\",\n \"phone\": \"01012345678\",\n \"price\": 50000,\n \"expire_dt\": \"2026-07-15\"\n}"
response = http.request(request)
puts response.read_body{}{
"success": true,
"error": "<string>"
}{
"success": true,
"error": "<string>"
}Payments
Send a payment request
Sends a Paymint payment request to a payer. Requires a Pro or Paymint-only license and draws down your Paymint balance.
POST
/
paymint
/
request
Send a payment request
curl --request POST \
--url https://{deployment}/api/v1/paymint/request \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'X-Paymint-MMK-Mode: <api-key>' \
--data '
{
"product_nm": "Coaching session",
"message": "결제를 진행해 주세요.",
"member_nm": "홍길동",
"phone": "01012345678",
"price": 50000,
"expire_dt": "2026-07-15"
}
'import requests
url = "https://{deployment}/api/v1/paymint/request"
payload = {
"product_nm": "Coaching session",
"message": "결제를 진행해 주세요.",
"member_nm": "홍길동",
"phone": "01012345678",
"price": 50000,
"expire_dt": "2026-07-15"
}
headers = {
"X-API-KEY": "<api-key>",
"X-Paymint-MMK-Mode": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-API-KEY': '<api-key>',
'X-Paymint-MMK-Mode': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
product_nm: 'Coaching session',
message: '결제를 진행해 주세요.',
member_nm: '홍길동',
phone: '01012345678',
price: 50000,
expire_dt: '2026-07-15'
})
};
fetch('https://{deployment}/api/v1/paymint/request', 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://{deployment}/api/v1/paymint/request",
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([
'product_nm' => 'Coaching session',
'message' => '결제를 진행해 주세요.',
'member_nm' => '홍길동',
'phone' => '01012345678',
'price' => 50000,
'expire_dt' => '2026-07-15'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>",
"X-Paymint-MMK-Mode: <api-key>"
],
]);
$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://{deployment}/api/v1/paymint/request"
payload := strings.NewReader("{\n \"product_nm\": \"Coaching session\",\n \"message\": \"결제를 진행해 주세요.\",\n \"member_nm\": \"홍길동\",\n \"phone\": \"01012345678\",\n \"price\": 50000,\n \"expire_dt\": \"2026-07-15\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("X-Paymint-MMK-Mode", "<api-key>")
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://{deployment}/api/v1/paymint/request")
.header("X-API-KEY", "<api-key>")
.header("X-Paymint-MMK-Mode", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"product_nm\": \"Coaching session\",\n \"message\": \"결제를 진행해 주세요.\",\n \"member_nm\": \"홍길동\",\n \"phone\": \"01012345678\",\n \"price\": 50000,\n \"expire_dt\": \"2026-07-15\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{deployment}/api/v1/paymint/request")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["X-Paymint-MMK-Mode"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"product_nm\": \"Coaching session\",\n \"message\": \"결제를 진행해 주세요.\",\n \"member_nm\": \"홍길동\",\n \"phone\": \"01012345678\",\n \"price\": 50000,\n \"expire_dt\": \"2026-07-15\"\n}"
response = http.request(request)
puts response.read_body{}{
"success": true,
"error": "<string>"
}{
"success": true,
"error": "<string>"
}Authorizations
ApiKeyAuth & PaymintMMKModeApiKeyAuth & PaymintHost & PaymintApiKey & PaymintMemberId & PaymintMerchantId & PaymintBusinessNumber
Your deployment's API key (MMK_API_KEY).
Set to true to use MMK mode (uses a license configured on your deployment). Set the Paymint connection fields on the connection page in the Magic Meal Kits app.
Body
application/json
Bill reason / product name.
Guidance message shown to the payer.
Payer (member) name.
Payer phone number.
Bill amount (max 10 digits).
Bill expiry date (YYYY-MM-DD).
Optional bill ID.
Optional callback URL (defaults to the server's callback).
Response
Payment request created
The response is of type object.
Was this page helpful?
⌘I

