Reload an issued Paywint Card
curl --request POST \
--url https://api.sandbox.paywint.com/api/user-api/card/payee/pw-card/reload \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--header 'X-Api-Secret: <x-api-secret>' \
--data '
{
"amount": 50,
"memo": "Quarterly bonus top-up",
"payee_card_id": "d9f1a8e7-2f9b-4f39-bc5d-98e01a123456"
}
'import requests
url = "https://api.sandbox.paywint.com/api/user-api/card/payee/pw-card/reload"
payload = {
"amount": 50,
"memo": "Quarterly bonus top-up",
"payee_card_id": "d9f1a8e7-2f9b-4f39-bc5d-98e01a123456"
}
headers = {
"X-Api-Key": "<x-api-key>",
"X-Api-Secret": "<x-api-secret>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Api-Key': '<x-api-key>',
'X-Api-Secret': '<x-api-secret>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
amount: 50,
memo: 'Quarterly bonus top-up',
payee_card_id: 'd9f1a8e7-2f9b-4f39-bc5d-98e01a123456'
})
};
fetch('https://api.sandbox.paywint.com/api/user-api/card/payee/pw-card/reload', 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.paywint.com/api/user-api/card/payee/pw-card/reload",
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([
'amount' => 50,
'memo' => 'Quarterly bonus top-up',
'payee_card_id' => 'd9f1a8e7-2f9b-4f39-bc5d-98e01a123456'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Api-Key: <x-api-key>",
"X-Api-Secret: <x-api-secret>"
],
]);
$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.paywint.com/api/user-api/card/payee/pw-card/reload"
payload := strings.NewReader("{\n \"amount\": 50,\n \"memo\": \"Quarterly bonus top-up\",\n \"payee_card_id\": \"d9f1a8e7-2f9b-4f39-bc5d-98e01a123456\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Api-Key", "<x-api-key>")
req.Header.Add("X-Api-Secret", "<x-api-secret>")
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.paywint.com/api/user-api/card/payee/pw-card/reload")
.header("X-Api-Key", "<x-api-key>")
.header("X-Api-Secret", "<x-api-secret>")
.header("Content-Type", "application/json")
.body("{\n \"amount\": 50,\n \"memo\": \"Quarterly bonus top-up\",\n \"payee_card_id\": \"d9f1a8e7-2f9b-4f39-bc5d-98e01a123456\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.paywint.com/api/user-api/card/payee/pw-card/reload")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Api-Key"] = '<x-api-key>'
request["X-Api-Secret"] = '<x-api-secret>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"amount\": 50,\n \"memo\": \"Quarterly bonus top-up\",\n \"payee_card_id\": \"d9f1a8e7-2f9b-4f39-bc5d-98e01a123456\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Operation completed.",
"data": {
"amount": 50,
"description": "Quarterly bonus top-up",
"payment_id": "1e5b20d4-58b5-4f2d-a9e5-6c91f0a1c789",
"reference_id": 10472,
"status": "success"
},
"queryGeneratedTime": 1718006400
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Reload Paywint Card
Reloads (top-ups) an issued Paywint Card by deducting funds directly from the issuer’s Paywint wallet balance.
The provided payee_card_id identifies the issued card, and the specified amount is debited from the wallet’s available balance and applied to the card through the Paywint recharge flow.
The wallet must have sufficient available balance for the reload to succeed.
POST
/
api
/
user-api
/
card
/
payee
/
pw-card
/
reload
Reload an issued Paywint Card
curl --request POST \
--url https://api.sandbox.paywint.com/api/user-api/card/payee/pw-card/reload \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--header 'X-Api-Secret: <x-api-secret>' \
--data '
{
"amount": 50,
"memo": "Quarterly bonus top-up",
"payee_card_id": "d9f1a8e7-2f9b-4f39-bc5d-98e01a123456"
}
'import requests
url = "https://api.sandbox.paywint.com/api/user-api/card/payee/pw-card/reload"
payload = {
"amount": 50,
"memo": "Quarterly bonus top-up",
"payee_card_id": "d9f1a8e7-2f9b-4f39-bc5d-98e01a123456"
}
headers = {
"X-Api-Key": "<x-api-key>",
"X-Api-Secret": "<x-api-secret>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Api-Key': '<x-api-key>',
'X-Api-Secret': '<x-api-secret>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
amount: 50,
memo: 'Quarterly bonus top-up',
payee_card_id: 'd9f1a8e7-2f9b-4f39-bc5d-98e01a123456'
})
};
fetch('https://api.sandbox.paywint.com/api/user-api/card/payee/pw-card/reload', 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.paywint.com/api/user-api/card/payee/pw-card/reload",
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([
'amount' => 50,
'memo' => 'Quarterly bonus top-up',
'payee_card_id' => 'd9f1a8e7-2f9b-4f39-bc5d-98e01a123456'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Api-Key: <x-api-key>",
"X-Api-Secret: <x-api-secret>"
],
]);
$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.paywint.com/api/user-api/card/payee/pw-card/reload"
payload := strings.NewReader("{\n \"amount\": 50,\n \"memo\": \"Quarterly bonus top-up\",\n \"payee_card_id\": \"d9f1a8e7-2f9b-4f39-bc5d-98e01a123456\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Api-Key", "<x-api-key>")
req.Header.Add("X-Api-Secret", "<x-api-secret>")
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.paywint.com/api/user-api/card/payee/pw-card/reload")
.header("X-Api-Key", "<x-api-key>")
.header("X-Api-Secret", "<x-api-secret>")
.header("Content-Type", "application/json")
.body("{\n \"amount\": 50,\n \"memo\": \"Quarterly bonus top-up\",\n \"payee_card_id\": \"d9f1a8e7-2f9b-4f39-bc5d-98e01a123456\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.paywint.com/api/user-api/card/payee/pw-card/reload")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Api-Key"] = '<x-api-key>'
request["X-Api-Secret"] = '<x-api-secret>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"amount\": 50,\n \"memo\": \"Quarterly bonus top-up\",\n \"payee_card_id\": \"d9f1a8e7-2f9b-4f39-bc5d-98e01a123456\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Operation completed.",
"data": {
"amount": 50,
"description": "Quarterly bonus top-up",
"payment_id": "1e5b20d4-58b5-4f2d-a9e5-6c91f0a1c789",
"reference_id": 10472,
"status": "success"
},
"queryGeneratedTime": 1718006400
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Headers
Body
application/json
Response
Successful Response
