v1

latestOpenAPI 3.1.0AGPLv32026-07-26168262527.5 KB
wallets

Generate a payment URL

This endpoint generates a checkout link for a specific wallet transaction.

post/wallet_transactions/{lago_id}/payment_url

Path parameters

lago_idstring uuid required
Example:1a901a90-1a90-1a90-1a90-1a901a901a90

ID of the wallet transaction.

Response

Payment URL has been generated

Example response

{
  "wallet_transaction_payment_details": {
    "lago_customer_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
    "lago_wallet_transaction_id": "1e501a90-1a90-1a90-1a90-1a901a901a80",
    "external_customer_id": "5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba",
    "payment_provider": "stripe",
    "payment_url": "https://foo.bar"
  }
}