All URIs are relative to https://api.clever-cloud.com/v2
Method | HTTP request | Description |
---|---|---|
CheckVat | Get /vat_check | |
EndPaymentWithStripe | Post /payments/{bid}/end/stripe | |
GetAvailablePaymentProviders | Get /payments/providers | |
GetCoupon | Get /payments/coupons/{name} | |
GetInvoiceStatusButton | Get /payments/assets/pay_button/{token}/button.png | |
GetStripeToken | Get /payments/tokens/stripe | |
StripeSepaWebhook | Post /payments/webhooks/stripe/sepa | |
UpdateStripePayment | Put /payments/{bid}/end/stripe | |
Validate | Get /validation/vat/{key} |
VatResult CheckVat(ctx, optional)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *CheckVatOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a CheckVatOpts struct
Name | Type | Description | Notes |
---|---|---|---|
country | optional.String | ||
vat | optional.String |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InvoiceRendering EndPaymentWithStripe(ctx, bid, paymentData)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
bid | string | ||
paymentData | PaymentData |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]PaymentProviderView GetAvailablePaymentProviders(ctx, )
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CouponView GetCoupon(ctx, name)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
name | string |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetInvoiceStatusButton(ctx, token)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
token | string |
(empty response body)
No authorization required
- Content-Type: Not defined
- Accept: image/png
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BraintreeToken GetStripeToken(ctx, )
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
StripeSepaWebhook(ctx, optional)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *StripeSepaWebhookOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a StripeSepaWebhookOpts struct
Name | Type | Description | Notes |
---|---|---|---|
stripeSignature | optional.String | ||
body | optional.String |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InvoiceRendering UpdateStripePayment(ctx, bid, setupIntentView)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
bid | string | ||
setupIntentView | SetupIntentView |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Message Validate(ctx, key, optional)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
key | string | ||
optional | *ValidateOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a ValidateOpts struct
Name | Type | Description | Notes |
---|
action | optional.String| |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]