Boutique

Initiez une caisse Affirm directement avec vos clients.

Requêtes récentes
Log in to see full request history
TempsStatutAgent utilisateur
Retrieving recent requests…
ChargementChargement en cours ...
🚧

Store Checkout vs. Direct Checkout

Le point de terminaison Magasin envoie automatiquement aux clients un courriel et un SMS contenant des liens de caisse, tandis que le point de terminaison Direct redirige simplement les clients vers une URL de caisse sans envoyer de notifications.

Paramètres du corps

Returns the checkout object.

Returns the checkout object.

merchant
objet
Obligatoire

Une liste d’objets spécifiques au commerçant.

billing
objet

Les renseignements sur la facturation du client.

integer

Le montant total en centimes de l'achat.

string

Three-letter ISO currency code, in upper-case. Possible values are USD, CAD, and GBP. If no value is entered, currency will default to USD.

string
length between 1 and 128

L'identifiant du commerçant pour cette commande.

integer

Le montant de la taxe d'expédition.

integer

Le montant pour expédier l’article.

shipping
objet
Articles
objet

An array of items based on the cart.

discounts
objet

Un ensemble de codes de réduction basés sur le commerçant.

string

Le programme de financement Affirm applicable

string

Un horodatage de la date d'expiration du checkout_id.

En-têtes
string

Param used to identify the country in which Affirm is used and uses an "alpha-3" three-letter country code. Supported countries are the United States (USA), Canada (CAN), and the United Kingdom (GBR). If no value is entered, country-code will default to USA.

string

Optional param used to identify the language used in the browser expressed as the following- en_US if the country-code is set to USA, en_CA if the country-code is set to CAN, fr_CA for French Canadian, and if the country-code is set to GBR the affirm-locale will be en_GB for British English. If an affirm-locale is not defined, it will automatically default to English.

Réponses

Langue
Informations d'identification
Basic
base64
:
URL
LoadingLoading…
Réponse
Click Try It! to start a request and see the response here! Or choose an example:
*/*