We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bd597a8 + e1524c2 commit fee02f9Copy full SHA for fee02f9
official/docs/curl/current/customer_portals/create.sh
@@ -0,0 +1,10 @@
1
+curl -X POST https://api.easypost.com/v2/customer_portal/account_link \
2
+ -u "EASYPOST_API_KEY": \
3
+ -H 'Content-Type: application/json' \
4
+ -d '{
5
+ "session_type": "account_management",
6
+ "user_id": "user_...",
7
+ "refresh_url": "https://example.com/refresh",
8
+ "return_url": "https://example.com/return",
9
+ "metadata": {"target": "wallet"}
10
+ }'
official/docs/responses/customer-portals/customer-portal-account-link-create.json
@@ -0,0 +1,6 @@
+{
+ "object": "CustomerPortalAccountLink",
+ "created_at": "2025-16-17T17:30:30Z",
+ "expires_at": "2025-16-17T17:35:30Z",
+ "link": "https://app.easypost.com/customer-portal/onboarding?session_id={SESSION_ID}"
+}
0 commit comments