PayMaya

Create a new walletLink

Creates a walletLink for subscription payments

post/v1/paymaya/wallet_links

Request

  • Base URL
    https://ewallets-api.paymongo.com
  • URL
    https://ewallets-api.paymongo.com/v1/paymaya/wallet_links
  • Auth
    HTTP basic

Request body

organization_idstring required
payment_method_idstring required

Example request

{
  "merchant_redirect_url": {
    "cancel": "https://example.com/cancel",
    "failure": "https://example.com/failure",
    "success": "https://example.com/success"
  },
  "organization_id": "org_abc123",
  "payment_method_id": "pm_123"
}

Response

Successfully created walletLink

has_moreboolean

Example response

{
  "data": {
    "authentication_redirect_url": "https://example.com/redirect",
    "created_at": "2023-01-01 00:00:00+00:00",
    "id": "link_abc123"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.