RsomPay

External API — Partner Integration Guide

API v1.0.1

External API Integration Guide

Create invoices, query status, share payment links, and receive signed webhooks.

Version v1.0.1 B2B Partners English

Integration API base URL

EnvironmentBase URL
Productionhttps://integration.rsompay.com/api/external/v1
Sandboxhttps://demo-integration.rsompay.com/api/external/v1

Payment host

EnvironmentPayment URL pattern
Productionhttps://payment.rsompay.com/pay/invoice/{token}
Sandboxhttps://demo-payment.rsompay.com/pay/invoice/{token}

Prerequisites (from RsomPay)

ItemDescription
External client accountProvisioned by RsomPay for B2B integration
Integration API tokenBearer token named client-external-api
Webhook signing secretProvided by RsomPay IT on onboarding — used with header X-Rsom-Signature (see §7.5)

End-to-end flow

flowchart TB
  subgraph partner [Partner system]
    ERP[ERP backend]
    WH[Webhook endpoint]
    RET[return_url handler]
  end
  subgraph rsom [RsomPay]
    INT[integration.rsompay.com]
    PAY[payment.rsompay.com]
  end
  ERP -->|POST /invoices| INT
  INT -->|payment_url| ERP
  ERP -->|share link| PAY
  PAY -->|browser redirect first| RET
  RET -->|GET by-reference| INT
  INT -.->|webhook later async| WH