v1

latestOpenAPI 3.0.02026-07-2688129326.6 KB
Checkout

Initialisation d'un Checkout

Pour tout savoir sur Checkout consultez d'abord notre <a href="https://dev.helloasso.com/docs/description">documentation</a><br/><br/><b>Votre clientId doit avoir ces autorisations : </b> <br/> Checkout<br/><br/>

post/organizations/{organizationSlug}/checkout-intents

Path parameters

organizationSlugstring required

Request body

totalAmountinteger required

Total amount, all taxes included, in cents (required) Must be equal to the sum of the initial amount and subsequent terms

initialAmountinteger required

The amount for the first term, all taxes included, in cents (required)

itemNamestring required

Item name (required) A text describing what the user paid for ('Renew license', '3 tickets', donation, etc). Will be displayed in the near future in the user space and in the organization back office

backUrlstring required

Url followed by the contributor if he wants to return to its previous site

errorUrlstring required

Url called in case of an error during the checkout process

returnUrlstring required

Url called after the payment

containsDonationboolean required

The sale (or a part of) is a donation

{"stackTrail":"components:schemas:HelloAsso.Api.V5.Common.Models.Carts.InitCheckoutBody:properties:metadata","oasType":"schema","type":"unknown","description":"Metadata (optional)\r\nJson object (max length : 20000)","nullable":true}

Response

Success

idinteger

Id of the checkout intent

redirectUrlstring nullable

Url where the contributor must be redirected to