When you configure an export, import, or other type of flow step using the prebuilt Afterpay connector, you can select any of the API operations listed below, organized by API type.
Note
If your API endpoint isn’t listed here, switch the flow step to HTTP mode and configure the endpoint provided in the Afterpay API documentation. You can also create a composite endpoint for this application in HTTP mode.
|
Resource |
API endpoint |
Export |
Import |
|---|---|---|---|
|
Checkouts |
Get checkout |
X |
|
|
Create checkout |
X |
||
|
Create checkout (express checkout) |
X |
||
|
Configuration |
Get configuration |
X |
|
|
Get configuration mappings |
X |
||
|
Disputes |
Retrieve dispute |
X |
|
|
Receive dispute |
X |
||
|
Respond to dispute |
X |
||
|
Accept dispute |
X |
||
|
Upload file |
X |
||
|
Retrieve file |
X |
||
|
Grants |
Create grant approval |
X |
|
|
Create grant |
X |
||
|
Retrieve grant |
X |
||
|
Revoke grant |
X |
||
|
Create grant alias |
X |
||
|
Start grant link flow |
X |
||
|
Grant status update |
X |
||
|
Order management |
Get payment by order ID |
X |
|
|
Get payment by token |
X |
||
|
List payments |
X |
||
|
Orders |
Create order |
X |
|
|
Payments |
Get payment by order ID |
X |
|
|
Get payment by token |
X |
||
|
Capture full payment |
X |
||
|
Capture full payment (express checkout) |
X |
||
|
Capture payment |
X |
||
|
Auth payment |
X |
||
|
Auth payment (express checkout) |
X |
||
|
Void payment |
X |
||
|
Create refund |
X |
||
|
Update shipping courier |
X |
||
|
List payments |
X |
||
|
Auth |
X |
||
|
Update payment by order ID |
X |
||
|
Reverse payment by token |
X |
||
|
Service status |
Ping |
X |