This commit is contained in:
2023-11-14 22:08:05 +01:00
parent 1a08a21b10
commit ed60cfd72a
51 changed files with 33771 additions and 24 deletions

82
api/results/order.json Normal file
View File

@@ -0,0 +1,82 @@
{
"data": {
"payer": {
"email": "",
"address": "TEST",
"city": "TEST",
"zipCode": "TEST",
"country": "FRA",
"dateOfBirth": "1986-07-05T00:00:00+02:00",
"firstName": "Thomas",
"lastName": "Ma"
},
"items": [
{
"payments": [
{
"id": 5434,
"shareAmount": 10000
}
],
"priceCategory": "Fixed",
"customFields": [
{
"id": 928,
"name": "Message",
"type": "TextInput",
"answer": "TEST MESSAGE"
}
],
"qrCode": "Nzc5Mjo2MzgzMDA3MDY3NDc3OTIyNjY=",
"tierId": 1141,
"id": 7792,
"amount": 10000,
"type": "Donation",
"initialAmount": 10000,
"state": "Processed"
}
],
"payments": [
{
"items": [
{
"id": 7792,
"shareAmount": 10000,
"shareItemAmount": 10000
}
],
"cashOutState": "MoneyIn",
"paymentReceiptUrl": "https://www.helloasso-sandbox.com/associations/ladoseapi/formulaires/1/paiement-attestation/7792/5434",
"id": 5434,
"amount": 10000,
"date": "2023-09-11T23:11:31.7066918+02:00",
"paymentMeans": "Card",
"installmentNumber": 1,
"state": "Authorized",
"meta": {
"createdAt": "2023-09-11T23:11:14.7792266+02:00",
"updatedAt": "2023-09-11T23:11:31.7566667+02:00"
},
"refundOperations": []
}
],
"amount": {
"total": 10000,
"vat": 0,
"discount": 0
},
"id": 7792,
"date": "2023-09-11T23:11:31.7066918+02:00",
"formSlug": "1",
"formType": "Donation",
"organizationName": "LaDOSEApi",
"organizationSlug": "ladoseapi",
"meta": {
"createdAt": "2023-09-11T23:11:14.7792266+02:00",
"updatedAt": "2023-09-11T23:11:31.8629523+02:00"
},
"isAnonymous": false,
"isAmountHidden": false
},
"eventType": "Order"
}

54
api/results/test.json Normal file
View File

@@ -0,0 +1,54 @@
{
"data": {
"order": {
"id": 7780,
"date": "2023-09-11T22:55:04.923001+02:00",
"formSlug": "1",
"formType": "Donation",
"organizationName": "LaDOSEApi",
"organizationSlug": "ladoseapi",
"formName": "Faire un don",
"meta": {
"createdAt": "0001-01-01T00:00:00+00:00",
"updatedAt": "0001-01-01T00:00:00+00:00"
},
"isAnonymous": false,
"isAmountHidden": false
},
"payer": {
"email": "",
"address": "ddd",
"city": "dddd",
"zipCode": "ddd",
"country": "FRA",
"dateOfBirth": "1986-07-05T00:00:00+02:00",
"firstName": "Thomas",
"lastName": "Ma"
},
"items": [
{
"shareAmount": 10000,
"shareItemAmount": 10000,
"id": 7780,
"amount": 10000,
"type": "Donation",
"state": "Processed"
}
],
"cashOutDate": "0001-01-01T00:00:00+00:00",
"cashOutState": "MoneyIn",
"paymentReceiptUrl": "https://www.helloasso-sandbox.com/associations/ladoseapi/formulaires/1/paiement-attestation/7780/5428",
"id": 5428,
"amount": 10000,
"date": "2023-09-11T22:55:04.923001+02:00",
"paymentMeans": "Card",
"installmentNumber": 1,
"state": "Authorized",
"meta": {
"createdAt": "2023-09-11T22:54:49.7032496+02:00",
"updatedAt": "2023-09-11T22:55:04.97+02:00"
},
"refundOperations": []
},
"eventType": "Payment"
}