Zum Hauptinhalt springen

Checkout - The documentation is now public! ๐ŸŽ‰

ยท Eine Minute Lesezeit

Since the begining of Hero you had to contact a Hero Administrator to integrate Hero and get plugins.

The documentation and download of plugin are now fully available on this website!

Links:

You need help or you think something is missing in the documentation? You still can contact a Hero Administrator. ๐Ÿ˜‰

Checkout - Update on available payment types endpoint ๐Ÿ—‘๏ธ

ยท Eine Minute Lesezeit

AvailablePaymentTypesโ€‹

This endpoint return the list of payment types available for the customer card.

Instead of using this endpoint:

query {
merchant {
paymentMin
paymentMax
availablePaymentTypes
}
}

You should now use this one :

query {
availablePaymentTypes(
amount: 50048
customerReference: "reference_id"
siren: "882221385"
)
}

This endpoint will directly send you available payment types (Pay1X, Pay3X, Pay4X, Pay30D, Pay60D), you don't need to do any calculation anymore ๐Ÿ˜‰.

Params of the new Endpoint:

FieldTypeDescriptionMandatory
amountIntThe amount of the payment in cents.yes
customerReferenceStringYour unique identifier of the customer.yes
sirenStringThe customer SIREN or SIRET. This field is optional but recommended to improve conversion.no