Appearance
Affirm
undefined
| Detail | Value |
|---|---|
| Category | Finance |
| Base URL | https://api.affirm.com/api/v1 |
| Authentication | API Key |
| Endpoints | 6 |
| Connector key | affirm |
Using Affirm in a workflow
- Go to Connections and click New Connection.
- Pick Affirm from the marketplace.
- Enter your credentials (see Authentication above for what's expected).
- In a workflow, drop an API Call node and select this connection.
- Pick the operation you need from the Operation dropdown — the full list is below.
Available endpoints
| Endpoint | Summary |
|---|---|
GET | Charges |
GET | Capture |
GET | Void |
GET | Refund |
GET | Transactions |
GET | Promos |
Each endpoint is documented in full below. Use the outline on the right to jump to one.
GET
Charges
| Detail | Value |
|---|---|
| Operation ID | charges_0 |
| Method | GET |
| Path | `` |
Parameters
No parameters.
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Affirm connection from the Connection dropdown.
- In the Operation dropdown, select
charges_0. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Affirm API reference.
GET
Capture
| Detail | Value |
|---|---|
| Operation ID | capture_1 |
| Method | GET |
| Path | `` |
Parameters
No parameters.
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Affirm connection from the Connection dropdown.
- In the Operation dropdown, select
capture_1. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Affirm API reference.
GET
Void
| Detail | Value |
|---|---|
| Operation ID | void_2 |
| Method | GET |
| Path | `` |
Parameters
No parameters.
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Affirm connection from the Connection dropdown.
- In the Operation dropdown, select
void_2. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Affirm API reference.
GET
Refund
| Detail | Value |
|---|---|
| Operation ID | refund_3 |
| Method | GET |
| Path | `` |
Parameters
No parameters.
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Affirm connection from the Connection dropdown.
- In the Operation dropdown, select
refund_3. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Affirm API reference.
GET
Transactions
| Detail | Value |
|---|---|
| Operation ID | transactions_4 |
| Method | GET |
| Path | `` |
Parameters
No parameters.
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Affirm connection from the Connection dropdown.
- In the Operation dropdown, select
transactions_4. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Affirm API reference.
GET
Promos
| Detail | Value |
|---|---|
| Operation ID | promos_5 |
| Method | GET |
| Path | `` |
Parameters
No parameters.
Using this endpoint in a workflow
- Add an API Call node to your workflow.
- Pick your Affirm connection from the Connection dropdown.
- In the Operation dropdown, select
promos_5. - Fill in the parameter fields that appear. Use
{{...}}to reference upstream values.
What it returns
The API Call node writes the response to the workflow context:
{
status: 200,
success: true,
data: { ...response body from the API... },
latencyMs: 142
}Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Affirm API reference.