Postman collection
Collection JSON
{
"info": {
"name": "Kollect S2S",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Create Payment URL",
"request": {
"method": "POST",
"header": [
{ "key": "Content-Type", "value": "application/json" },
{ "key": "Authorization", "value": "Bearer {{apiKey}}" },
{ "key": "X-Secret-Key", "value": "{{secretKey}}" },
{ "key": "X-API-Key", "value": "{{apiKey}}" },
{ "key": "X-Timestamp", "value": "{{timestamp}}" },
{ "key": "X-Signature", "value": "{{signature}}" },
{ "key": "X-Idempotency-Key", "value": "{{idempotencyKey}}" }
],
"body": {
"mode": "raw",
"raw": "{\n \"source\": \"postman-test\",\n \"clientEmail\": \"[email protected]\",\n \"clientName\": \"Test\",\n \"clientWalletAddress\": \"0x1111111111111111111111111111111111111111\",\n \"countryCode\": \"US\",\n \"countryName\": \"United States\",\n \"invoiceCurrency\": \"fUSDC-sepolia\",\n \"paymentCurrency\": \"fUSDC-sepolia\",\n \"isSelfIncurredFee\": false,\n \"items\": [\n { \"description\": \"Test item\", \"quantity\": 1, \"price\": 1 }\n ]\n}"
},
"url": "{{baseUrl}}/sdk/server/create-payment"
}
}
],
"variable": [
{ "key": "baseUrl", "value": "your server url" },
{ "key": "apiKey", "value": "" },
{ "key": "secretKey", "value": "" },
{ "key": "timestamp", "value": "" },
{ "key": "signature", "value": "" },
{ "key": "idempotencyKey", "value": "" }
]
}Recommended workflow
Related pages
Last updated
Was this helpful?