-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlinks.go
22 lines (15 loc) · 827 Bytes
/
links.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package mundipagg
// BASEURL Url for to send information to the API
const BASEURL string = "https://api.mundipagg.com/core/v1/"
// CUSTOMERURL Link to get from api a customer
const CUSTOMERURL string = BASEURL + "customers"
// SUBSCRIPTIONURL Link to make a subscription
const SUBSCRIPTIONURL string = BASEURL + "subscriptions"
// SUBSCRIPTIONUPDATENEXTBILLINGDAYURL end of the url for the billing date
const SUBSCRIPTIONUPDATENEXTBILLINGDAYURL string = "/billing-date"
// SUBSCRIPTIONUPDATESTARTATURL end of the subscription start at url
const SUBSCRIPTIONUPDATESTARTATURL string = "/start-at"
// CARDENDPOINT Links the customer to the credit card (ex: CUSTOMERURL + customer_id + "/cards")
const CARDENDPOINT string = "cards"
// DISCOUNTENDPOINT endpoint to add a discount
const DISCOUNTENDPOINT string = "/discounts"