RsomPay

External API — Partner Integration Guide

API v1

External API Integration Guide

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

Version v1 B2B Partners English

Integration API base URL

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

Payment host

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

Prerequisites (from RsomPay)

ItemDescription
External client accountOrganization with scope = external
Integration API tokenSanctum token client-external-api
Webhook signing secretPer integration partner — only this value is the HMAC key for 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| RET
  INT -->|POST notification_url| WH
  ERP -->|GET by-reference| INT