Authentication
Your partner client secret
Path Parameters
Body Parameters
The type of online terminal to register. One of:
SelfHostedPage — Embed payment fields directly in the merchant’s website for full UI control
PaymentPage — Redirect customers to a hosted payment page (simplest integration)
MerchantInitiated — For recurring payments and subscriptions (requires initial customer authentication)
The store ID to register the terminal under. If omitted, the merchant’s default store is used.
Response
The unique terminal identifier. Use this to reference the terminal in payment operations.
The public key for initializing the Surfboard Online SDK on the merchant’s website. Required for SelfHostedPage and PaymentPage integrations.
The terminal type that was created (matches the requested onlineTerminalMode)
The store ID the terminal was registered under
curl -X POST https://api.acountpay.com/v1/partner/merchants/42/card-payments/online-terminals \
-H "X-Partner-Client-Id: your-client-id" \
-H "X-Partner-Client-Secret: your-client-secret" \
-H "Content-Type: application/json" \
-d '{
"onlineTerminalMode": "SelfHostedPage"
}'
{
"terminalId": "term_abc123",
"terminalPublicKey": "pk_live_abc123def456...",
"terminalType": "SelfHostedPage",
"storeId": "sbs_def456"
}