Antifraud plans
Update antifraud plan
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://<api-host>/v1/admin/antifraud-plans/string" \ -H "Content-Type: application/json" \ -d '{}'{
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
"livemode": true,
"name": "string",
"description": "string",
"status": "enabled",
"scoringRuleIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"listGroupIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"createdAt": "string",
"updatedAt": "string",
"deletedAt": null
}
}Empty
Empty
Empty
Delete antifraud plan (soft delete, owner only)
Previous Page
Create a new API key pair
Issues a new API key pair (public + secret). The plain-text secret is returned ONCE in the response — store it securely. Subsequent reads return only the public portion. Pass `ownerType: "merchant"` with `merchantId` to bind the key to a single merchant, or `ownerType: "tenant"` for a tenant-wide key. Use `livemode: false` to create a sandbox key (sk_test_*). A secret-key caller issues keys only in its own mode. Repeating the request with the same `Idempotency-Key` answers 409 `API_KEY_ALREADY_ISSUED` with the issued key id in `instance`.