cURL
curl --request POST \ --url https://api.platnova.com/v1/links \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "title": "Invoice #1001", "description": "Payment for services", "amount": 50000, "currency": "NGN", "expires_at": "2026-02-28T23:59:59Z", "customer": { "can_set_price": false }, "payment": { "limit": 1, "payment_methods": [ { "id": "bank_transfer", "value": "058" } ] } } '
{ "status": true, "data": { "id": "<string>", "title": "<string>", "description": "<string>", "amount": 123, "url": "<string>", "status": 123, "expires_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "error": [ "<unknown>" ], "message": "<string>" }
Create a shareable payment link
API key for authentication.
Link title
Currency code (e.g. NGN, USD)
Show child attributes
Optional description
Fixed amount; required when customer.can_set_price is false
Optional expiry (ISO 8601)
Payment link created successfully