# Direct API Building with an AI agent? Start at https://docs.payme.io/agents.md Charge cards and save them as tokens from your own server. For partners certified PCI DSS Level 1. The Direct API is for partners certified PCI DSS Level 1, who may handle raw card details on their own servers. - Charge a card on a sale you created: [`pay-sale`](/payments/direct-api/post-pay-sale). - Save a card as a token without charging it: [`capture-buyer-token`](/payments/tokenization/post-capture-buyer-token). - Charge a saved card: [`generate-sale`](/payments/hosted-payment-page/post-generate-sale) with `buyer_key`. Without that certification, use the [Hosted Payment Page](/payments/hosted-payment-page) or [Hosted Fields](/payments/hosted-fields-jsapi), so card details never reach your servers. PayMe Partners () can send the step-by-step Direct API guide on request. ## Endpoints - [Pay a sale](/payments/direct-api/post-pay-sale): POST /pay-sale