Top Up
To top up your Ellipsis Balance, you need to follow the PayPal checkout flow to make a transaction with the right parameters with the Ellipsis Drive PayPal account.
The client id of the Ellipsis PayPal account is: Aa-0MSzbq7vWNzbGZgd0o34Mmvitdo5P0XhLpIw6uP6x7DgjuvttTthcr5GFc8ANaJ5ZiOpCRfJTKLpO
You need to create a purchase unit like in the below example. Make sure that the name of the item is 'Ellipsis Balance' and all 'currency_code' are 'EUR' (both case sensitive).
The userId will be the id of your Ellipsis account. totalAmount is the amount you want to top up in cents. The actual amount that will be added to your balance is the amount you paid minus the transaction fees from PayPal.
For example: If [totalAmount] = 1000, it means you will make a payment of 10.00 euros to PayPal. The amount added to your Ellipsis balance will be 10.00 - PayPal fees.
You should receive your balance after a few minutes if the transaction was successful.
1
purchase_units: [{
2
amount: {
3
currency_code: "EUR",
4
value: [totalAmount]/100,
5
breakdown: {
6
item_total: { value: [totalAmount]/100, currency_code: 'EUR' }
7
}
8
},
9
items: [
10
{
11
name: 'Ellipsis Balance',
12
unit_amount: { value: 0.01, currency_code: 'EUR'},
13
quantity: [totalAmount],
14
description: [userId]
15
}
16
],
17
}]
Copied!
Copy link