v1CreateAttemptRequest

  • application_id
    Type: string · application id if not provided, it will be use the first application in the list
  • customer_redirect
    Type: object · Each purchase must have a customer redirect config. This is to redirect the customer to merchant website after BNPL process is completed or cancelled @ref `CustomerRedirect`
    • approved_url
      Type: string
    • canceled_url
      Type: string
  • merchant_purchase_ref
    Type: string · identification of a unique purchase within the merchant system You can not have multiple attempts with the same merchant_purchase_ref
  • purchase_details
    Type: object · purchase details
    • billing_address
      Type: object · This is required
    • customer
      Type: object · This is optional
    • shipping_address
      Type: object · This is optional
    • shopping_card
      Type: object · This is required
  • transaction_flow_config
    Type: object · transaction flow config TODO: not supported yet
    • transaction_capture
      Type: string · v1TransactionCaptureenum

      Transaction capture types AUTO: The transaction is auto captured. MANUAL: The transaction is manually captured.

      values
      • TRANSACTION_CAPTURE_UNSPECIFIED
      • TRANSACTION_CAPTURE_AUTO
      • TRANSACTION_CAPTURE_MANUAL