Developer
DocsDeveloperPlatformTicket
  • Overview
  • Guides
    • Accept Payment
      • Payment Types
        • Pre Authorization
        • Tokenization
        • Subscription
      • Build Your Gateway
    • Webhook
      • Transaction
      • Subscription
      • Payout
    • Embedding
      • iFrame
      • Modal Window
      • Mobile Apps
      • Integration Parameter
  • General Information
    • Payment Method
      • Static QR Code
    • Payment Provider
    • Objects
      • Metadata
      • Invoice
      • Contact
  • Testing
  • Plugin Development
  • More Documentations
  • Merchant
  • API Reference
Powered by GitBook
On this page
  1. Guides
  2. Webhook

Subscription

Webhook Content

Status Values

  • active

  • failed

  • cancelled

  • in_notice

Key

Type

Description

id

integer

Internal subscription ID

uuid

string

Public subscription ID

status

string

The status of the subscription

start

date

Start date of subscription

end

date

End date of subscription. Only set if subscription is cancelled.

valid_until

date

The next payment date.

paymentInterval

string

invoice

contact

<?php
array(
  'id' => 1,
  'uuid' => '82m09f9',
  'status' => 'active',
  'start' => '2020-01-01',
  'end' => null,
  'valid_until' => '2021-01-01',
  'paymentInterval' => 'P1Y',
  'invoice' => Invoice,
  'contact' => Contact,
);
PreviousTransactionNextPayout

Last updated 10 months ago

See PHP interval spec
Invoice
See documentation
Contact
See documentation