Skip to main content
POST
/
stores
/
{storeId}
/
payments
Charge a billing agreement
curl --request POST \
  --url https://api.pandabase.io/v2/core/stores/{storeId}/payments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "mandate": {
    "id": "<string>",
    "token": "<string>"
  }
}
'
{
  "ok": true,
  "data": {
    "id": "<string>",
    "status": "COMPLETED",
    "authorizationUrl": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.pandabase.io/llms.txt

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

Authorizations

Authorization
string
header
required

Store API token. Use the sk_ prefixed secret key as the Bearer token.

Path Parameters

storeId
string
required

Store ID (shp_ prefix)

Required string length: 12 - 48

Body

application/json
mandate
object
required

Response

Payment created. status: COMPLETED means funds were collected. status: REQUIRES_3DS means the customer must complete bank authentication at authorizationUrl — the charge will succeed automatically once they do.

ok
boolean
required
data
object
required

Result of charging a billing agreement.