Process card payments using the charge endpoint
[API_KEY]:[PIN]Format: Basic [base64_credentials]application/json5 for $5.00)"nonce-pft4uav4cker5g8bk3db")2028)"approved", "declined")"USD")| Status | Description | Action |
|---|---|---|
approved | Transaction successful | Fulfill order |
declined | Card declined by issuer | Request different payment method |
pending | Transaction pending review | Wait for final status |
failed | Transaction failed | Check error details and retry |
Tokenize card
Send nonce to server
Process charge
Handle response
card_declined
invalid_nonce
insufficient_funds
invalid_card
authentication_error
4111 1111 1111 1111status: "approved"4000 0000 0000 0002status: "declined"4000 0000 0000 9995status: "declined", error code insufficient_funds