Skip to content

⏱ 5 min
👤 Merchant Onboarding Team (Marcel K.)

1) What data is required for a transaction?

Buyer details, billing/shipping addresses, basket items (incl. tax and prices), currency and total amount. Setup could differ for different types of integrations. Your Ratepay representative will support you for further clarification.

2) Do you support partial captures?

Yes - multiple captures are supported per transaction, aligned with partial shipments.

3) Do you support partial refunds?

Yes - line‑item or amount‑based (only on Payment API v2) partial refunds are supported after capture.

4) How do I handle authorization declines?

Show alternative payment methods or fallback flows. Use the API’s response codes for user messaging.

5) Is there a sandbox for testing?

Yes. Use sandbox endpoints, test data, and usual test cases to simulate outcomes.

6) How do I authenticate to the API?

Credentials are provided during onboarding by your Ratepay representative. For Payment API v1, the authentication happens via the request itself (Profile ID & Security Code). For Payment API v2 and further APIs, the OAuth 2.0 protocol will be used for authentication. Store secrets securely.

7) Are there idempotency requirements?

Yes — send idempotency keys on Payment API v2 for retried requests to avoid duplicate actions.

8) How should I manage timeouts and retries?

Retry safely with idempotency and exponential backoff. Avoid retrying non‑idempotent operations without safeguards.

9) How do I support one‑time passcodes (OTP)?

For Payment API v2, some authorizations might require OTP, depending on contractual agreement. Implement the OTP flow in your checkout, where the buyer can enter their SMS code. Also consider a retry logic and error handling.

10) How do I handle cart changes after authorization?

Use Incremental Authorization (v2) to increase amounts. For decreases, capture only shipped items or cancel remaining parts.

11) Is there a reference for error codes?

Yes - use the Decline categories section in the docs. Implement mapping to user‑friendly messages and log technical details for support.

12) How should I map any IDs?

Store Ratepay’s Transaction ID & Reference for payment and your Order ID to ensure reconciliation, correct invoicing and support diagnostics.

13) Can I trigger multiple refunds?

Yes - multiple refunds are supported up to the captured amount.

14) How should I test partial shipments and refunds?

Create multiple captures and refunds against a single authorization in sandbox to validate your ERP/e‑commerce logic.