cURL
curl --request POST \ --url https://api.markdown2pdf.ai/v1/markdown/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.
Payment request details including offer ID, payment request, and QR code SVG.
The response is of type object.
object