AddManualPaymentv1.0.0
Details
This event must be consumed using an authorization token. The token is utilized to verify that the user has permission to produce the event and set user_id and organization_id within the attributes. Additionally, the event_source and metadata.event_triggered_by are automatically populated by the CF-Worker-User-Event.
- When the success team creates a new manual payment
- event_type: add_manual_payment
- event_name: platzi.sherlock.1.add_manual_payment
- attributes.value: true/false
Id for the event. This is a client auto-generated UUID_V4
Name of the event with format organization.domain.version.action
DateTime when the event was raises. Format YYYY-MM-DDTHH:MM:SSz
Contains arbitrary properties with entity information
Platzian username
Student identifier
Text combining add_manual_payment text and student_id value
Event value
Contains the manual payment data
Transaction identification
Customer ID
Amount of the payment
Payment method
Plan name
Currency code of the payment
Country ID from geo_country table
Register type, can be normal or register type from promo
Student access limit date
Payment description log from success team
Student identification number
Student identification type
Student address
Student state
Student city
Current installment number
Total installments number
Contain fixed properties with event information
Type of the event, used to join common sub events
How to trigger this event
1curl --location 'https://api-c963080767f45828c31f83ca5cd25d36.staging.platzi.com/behavior/v1/' \
2--header 'Content-Type: application/json' \
3--data '{
4 "event_id": "2457207d-a9d8-4b46-aff3-2a8ca385f2f6",
5 "event_name": "platzi.sherlock.1.add-manual_payment",
6 "event_occurred_on": "2023-05-01T22:29:56Z",
7 "attributes": {
8 "username": "organizer",
9 "student_id": 1,
10 "value": "add_manual_payment-1",
11 "key": "true"
12 "payment":{
13 "transaction_id":"test_124563_4",
14 "country":1,
15 "recurrence_installments":1,
16 "amount":"990000",
17 "address":"Centro",
18 "method":"payu_manual",
19 "limit_date":"2028-09-26T05:00:00.000Z",
20 "log":"<p>Prueba</p>",
21 "city":"Chia",
22 "recurrence_current_installment":1,
23 "document":"124563",
24 "token":"d_test_124563",
25 "register_type":"normal",
26 "currency":"COP",
27 "state":"Cundinamarca",
28 "plan":"expert_annual",
29 "document_type":"CC"
30 },
31 },
32 "metadata": {
33 "event_type": "add_manual_payment"
34 }
35}'
36