cURL
curl --request POST \ --url https://api.markdown2pdf.ai/payment-request \ --header 'Content-Type: application/json' \ --data '{ "offer_id": "<string>", "payment_methods": "<string>", "payment_context_token": "<string>" }'
{ "version": "<string>", "payment_request": {}, "expires_at": "2023-11-07T05:31:56Z" }
Get payment details for generation. This will include a lightning invoice, and follows the L402 standard for payment requests.
Unique identifier for the payment offer
Token to identify the payment context
Payment method to be used
Payment request details including offer ID, payment request, and QR code SVG.
Payment request details
Show child attributes
Version of the payment request response schema
Expiration time for the payment request