Payments
Create Payment
The payments API allows you to add payments for your referrals. If you want to track a one-off payment, just don’t specify subscription_id
, interval
and interval_count
.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Payment amount (in cents)
Payment currency - (lowercase, i.e. usd)
A unique string to identify this payment. Used to prevent double payments.
required if referral_id
not set - Email of the referral
required if referral_email
not set - Reditus id of the referral
Should be the id of the subscription on your side. Used to associate subsequent payments to this subscription.
Subscription interval ('month'/'year')
Number of intervals the payment is made (default: 1)
Response
202 - application/json
Accepted