cURL
curl --request POST \ --url https://api.pushcash.com/token \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "user_id": "user_lVpbPL0K1XIiHx0DxipRbD", "type": "apple_pay" } '
{ "token": "token_abc123def456" }
Create a token to store information for payment initialization.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The Push user ID
"user_lVpbPL0K1XIiHx0DxipRbD"
The type of token to create
apple_pay
"apple_pay"
Token created successfully
The ID of the generated token
"token_abc123def456"