POST /tokens
A token is a secure representation of sensitive payment method details. Instead of handling the payment method directly, you can safely pass the token to your servers and request a payment. Tokenizing utilizes javascript to send payment data on the client-side so that sensitive payment data never hits your backend servers.
The request should contain either a "card" parameter or a "bank" parameter, but not both. The request should contain either a "payer" parameter or a "payerId" parameter, but not both. If "payerId" is specified, the payer object will not be returned in the response for security purposes.