Thrift module: payment

ModuleServicesData typesConstants
payment Payment
PaymentType

Enumerations

Enumeration: PaymentType


ONE_OFF_CONTRIBUTION1 One off contributio
RECURRING_CONTRIBUTION2 Additional web request

Data structures

Struct: Payment

KeyFieldTypeDescriptionRequirednessDefault value
1currencystringCurrency code (ISO 4217 3-character, upper-case, eg USD, GBP) required
2amounti64Contributed amount in units of the currency received required
3convertedAmounti64Approximate contributed amount (in GBP) required
4paymentTypePaymentTypeIf the payment is a one off or reccuring required
5paymentProviderstringThe payment provider the user paid with optional
6campaignCodeset<string>The campaign code of the marketing channel the user came from optional
7abTestsabtest.AbTestInfoThe ab tests the user was in on dotcom optional
8countryCodestringISO-3166-aplha-2 country code representing where the user is from. It is either the country of the card used, or the country of the contributor s address optional
9referrerPageViewIdstringPage view id of the page the reader was on that lead them through to the contribution page e.g. by clicking on the Contribute Now button in the Epic component optional
10referrerUrlstringUrl of the page the reader was on that lead them through to the contribution page e.g. by clicking on the Contribute Now button in the Epic component optional

Represents monitary contribution made by a reader via this page.