Skip to content

Verify a gateway payment

POST
/api/v1/business/website/payment/verify/

Confirm the payment after the gateway redirects the shopper back to your callback_url. Both successful and failed payments return 200 — check data.success.

Authorizations

apiKey

Your business API key (sb_live_*) — identifies which store the request is for. Required on every /api/v1/business/website/ request.

Type
API Key (header: X-Periscale-Key)

Request Body

application/json
JSON
{
  
"payment_session_id": "string",
  
"provider_params": {
  
  
"additionalProperties": "string"
  
}
}

Responses

Verification result.

application/json
JSON
{
  
"status": true,
  
"status_code": 0,
  
"message": "string",
  
"data": {
  
  
"success": true,
  
  
"order_id": 0,
  
  
"status": "string",
  
  
"message": "string"
  
}
}

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI

© Periscale