The Merchant Object

Attributs

AttributType de donnéesDescription
user_confirmation_urlObligatoirestringThe URL the customer is redirected to if they successfully complete the Affirm checkout flow. A checkout_id will be sent to this URL in the POST request.
user_cancel_urlObligatoirestringThe URL the customer is redirected to if they exit the Affirm checkout flow. This is the same if the user voluntarily cancels or closes the window before completion or if the user is denied.
public_api_keyObligatoirestringThe public_api_key can be retrieved from the Merchant Portal and must be included in the merchant object. The public key is specific to the sales channel the transaction starts. (e.g. e-commerce, telesales, in‑store, etc.)
user_confirmation_url_actionstringValeurs prises en charge :
  • GET
  • POST (Default)
use_vcnbooleanA flag to enable virtual card integration (default is false).
namestringSi vous avez plusieurs sites Web fonctionnant sous un seul compte Affirm, vous pouvez remplacer le nom de l'entreprise ou de la marque externe que le client voit. Cela affecte toutes les références au nom de votre entreprise dans l'interface utilisateur Affirm.
{ 
   "user_confirmation_url":"https://merchantsite.com/confirm",
   "user_cancel_url":"https://merchantsite.com/cancel",
   "user_confirmation_url_action":"POST",
   "use_vcn": false,
   "name":"External Company Name"
}