Payments
  • Welcome
  • One time payment
    • OneBip
    • PayPal Legacy
    • PayPal
    • Stripe
    • Paymentwall
    • Mollie
  • Subscription payment
    • PayPal
  • Webhook
    • Payment Payload
    • Subscription Status Paypload
    • Validating webhook
  • Payment Entities
    • Base
    • User
    • Package
    • Subscription
    • InvoiceNinja
    • FactuurSturen
Powered by GitBook
On this page

Was this helpful?

  1. Webhook

Payment Payload

We will notify the provided webhook URL.

Information: Expected status: 200 Expected content: Any content, no content is also accepted. Content-Type: application/json Method: POST

{ 
    "event": "PAYMENT",
    "transactionId": "j93zas-7rosyh-n08kbq-tprdm9",
    "externalTransactionId": "",
    "gateway": "onebip",
    "identifier": "orderid, invoiceid, storeid, etc.",
    "packageName": "Test Package",
    "packageKey": "package key (or null)",
    "custom": null,
    "price": 10.99,
    "transactionFee": null,
    "type": "paid",
    "subscriptionId": null,
    "subscriptionInitialPayment": false
}
// Type
PENDING = 'pending';
PAID = 'paid';
REFUND = 'refund';
CHARGE_BACK = 'chargeback';
PreviousPayPalNextSubscription Status Paypload

Last updated 4 years ago

Was this helpful?