SolWall API Documentation

Integrate SolWall's powerful payment processing capabilities into your application with our easy-to-use API.

Create a Payment

GET https://solwall.org/public-api/v1/createEmbed?amount={usd_amount}&api_key={api_key}

Create a new payment request.

Request Parameters

Parameter Type Description
api_key string Your API key
usd_amount string The amount to be paid in USD cents
callback_url (Optional) string If you require a webhook callback to be sent whenever the payment is paid.

Response

{ "embed_url": "https://payment.solwall.org/embed/1-XijdFDH", "invoice_id": "1-XijdFDH", "token_amount": 1000, "token_address": "xxxxxxxxxxxxxxxxxxx", "callback_secret": "d8231JHD" }

Retrieve a Payment Status

GET https://solwall.org/public-api/v1/checkPaymentStatus?invoice={invoice_id}&api_key={api_key}

Retrieve status of a specific payment.

Path Parameters

Parameter Type Description
api_key string Your API key
invoice_id string The unique identifier of the payment

Response

{ "status": "completed", "amount_paid": 100, "token_address": "xxxxxxxxxxx", "amount_required": 111 }