Payment links
Create a payment link. The provider is not contacted until the payer opens it, so a link can be minted before a processor is connected (it then offers IBAN + EPC QR). Honours Idempotency-Key. (scope: payments:write)
POST
bearerAuthheader
AuthorizationBearer <token>API key as Bearer token
application/json- body
amount*numberMAJOR units (350.00 = 350 RON).
Range
0 < value <= 1000000currency*stringLength
3 <= length <= 3description*stringLength
1 <= length <= 200customer_email?stringFormat
emailcustomer_name?stringLength
length <= 120expires_in_days?integerRange
1 <= value <= 365Default
30OK
application/json- response
data*error*nullcurl -X POST "https://example.com/payment-links" \ -H "Content-Type: application/json" \ -d '{ "amount": 1, "currency": "str", "description": "string" }'{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "token": "string", "url": "http://example.com", "qr_url": "http://example.com", "expires_at": "2019-08-24T14:15:22Z" }, "error": null}