cURL
curl --request POST \ --url https://staging.crossmint.com/api/unstable/payment-methods/{paymentMethodId}/agentic-enrollment \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <x-api-key>' \ --data ' { "email": "jsmith@example.com" } '
{ "enrollmentId": "enr_8d6a4b1f-9c8a-4cba-b2c1-3a5b8c0d6f12", "status": "pending", "verificationConfig": { "environment": "production", "publicApiKey": "key_publicSomething" } }
Create an agentic enrollment for a payment method.
API scope required: payment-methods.create
payment-methods.create
API key required for authentication
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
The agentic enrollment has been successfully created
active
Was this page helpful?