Skip to main content

Sign-up

To sign up for an account visit the sign-up page and fill in the details.

Credentials

The API credentials for Affirm are not available through a self-service dashboard and must be configured by the team. Please contact the Affirm representative to request that these credentials be provided.

Required fields

Based on the account setup, Affirm might require certain buyer details to be available during setup. In general, providing as much of the buyer billing and shipping details, as well as any cart items before attempting an Affirm payment is recommended. When not provided, the Affirm transaction might fail with a invalid_request_parameters error code, more specifically with a raw missing_fields error from Affirm.

Connection options

Affirm supports the pass through of the following connection options when creating a request.
{
  "connection_options": {
    "affirm-affirm": {
      "itinerary": {
        "type": "event",
        "sku": "ABC123",
        "display_name": "Bad Bunny at Petco Park",
        "venue": "Petco Park",
        "location": "100 Park Blvd, San Diego, CA 92101, US",
        "date_start": "2022-12-06T03:00:00.000Z UTC"
      },
      "discounts": {
        "RETURN5": {
          "discount_amount": 500,
          "discount_display_name": "Returning customer 5% discount"
        },
        "PRESDAY10": {
          "discount_amount": 1000,
          "discount_display_name": "President's Day 10% off"
        }
      }
    }
  }
}