Skip to main content

Documentation Index

Fetch the complete documentation index at: https://safepay.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Use this journey as your checklist. It strings together the core concepts, guides, and API calls you need to enable Safepay Raast for your business.

Prerequisites

  • {{aggregator_id}} issued by Safepay
  • {{secret_key}} for the target environment
  • Base URL set to https://dev.api.getsafepay.com/raastwire (sandbox) or https://api.getsafepay.com/raastwire (production)

Integration checklist

1

Get aggregator access

Request access, receive your aggregator, and secure the first {{secret_key}}.
2

Create aggregator merchants

Link each business you serve to a Raast merchant when creating an aggregator merchant.
3

Complete KYC/KYB

Safepay validates documentation. Expect same-day approval when the Raast merchant is already onboarded; otherwise provide additional paperwork.
4

Enable payment initiation

Choose your payment type and follow the respective use case.
5

Subscribe to webhooks

Create webhook endpoints and verify signatures to receive asynchronous status updates.
6

Roll out payouts (optional)

Once pay-ins are live, add instant payouts for beneficiaries.

Merchant and Raast merchant linkage

ScenarioAction
Raast merchant already exists in Safepay registryUse raast_merchant_id from Raast merchants when creating your aggregator merchant.
New business entitySubmit documentation so Safepay can create a Raast merchant. Expect longer KYC/KYB timelines.
A single Raast merchant can link to multiple aggregators. This lets merchants work with different platforms simultaneously.

Key API calls by stage

StageEndpointPurpose
Access keysPOST /v1/aggregators/{{aggregator_id}}/keysCreate additional keys for rotation.
Raast merchant lookupGET /v1/aggregators/{{aggregator_id}}/raast-merchantsFind an existing Raast merchant.
Merchant onboardingPOST /v1/aggregators/{{aggregator_id}}/merchantsCreate an aggregator merchant.
RTP paymentsPOST /v1/aggregators/{{aggregator_id}}/paymentsInitiate RTP Now or RTP Later.
QR paymentsPOST /v1/aggregators/{{aggregator_id}}/qrsCreate static or dynamic QR codes.
PayoutsPOST /v1/aggregators/{{aggregator_id}}/payoutSend payouts to beneficiaries.
WebhooksPOST /v1/aggregators/{{aggregator_id}}/webhooksRegister webhook endpoints.

Payment orchestration cheat sheet

  • RTP Now - Collect once the customer approves immediately. Ideal for cashback or just-in-time payouts.
  • RTP Later - Give customers more time to approve. Use when invoices can be paid hours or days later.
  • Dynamic QR - Create per transaction at checkout; you know the amount but not the payer until settlement.
  • Static QR - Post a reusable QR. Track incoming payments using amount and metadata.

Operational readiness

See also