Authorize Transaction
Endpoint in your backend used by Bit2Me for request authorization on each transaction.
Your backend exposes this endpoint (POST /v1/b2m/transaction/authorize on your own domain); Bit2Me calls it.
Request Body
application/json
The Bit2Me requested transaction data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
Example Requests
/authorizeTransactionSign in with API key POST
Authenticates a user using an API key and returns a JWT access token. The API key must be sent via the `ApiKeyAuth` security scheme. The request body carries the `userId` that the key belongs to. On success the response contains an `accessToken` with its expiration timestamp.
Report Transaction Webhook
Endpoint in your backend used by Bit2Me to report transaction operations. Your backend exposes this endpoint (`POST /v1/b2m/transaction/report` on your own domain); Bit2Me calls it.