Understand payment flows and security in Rise B2B API
Create Payment
Sign with Wallet
Execute Payment
${this.baseUrl}/v2/payments
Creates a payment and returns EIP-712 typed data for signing.
${this.baseUrl}/v2/payments
Executes the payment using signed typed data.
${this.baseUrl}/v2/payments
Query payments for a team with optional filtering.
Parameter | Type | Required | Description |
---|---|---|---|
team_nanoid | string | Yes | Team identifier |
state | string | No | Payment state filter (all , intent , scheduled , complete ) |
query_type | string | Yes | Query type (payable , receivable ) |
start_date | string | No | Start date for filtering (YYYY-MM-DD) |
end_date | string | No | End date for filtering (YYYY-MM-DD) |
recipient | string | No | Filter by specific recipient |
Option | Description | Use Case |
---|---|---|
pay_now: true | Payment executes immediately | Instant payroll, urgent payments |
pay_now: false | Payment intent (scheduled) | Future payroll, scheduled payments |
State | Description | Next Actions |
---|---|---|
intent | Payment intent created | Sign and execute |
scheduled | Payment scheduled for future | Wait for execution time |
complete | Payment completed on blockchain | Payment successful |
removed | Payment cancelled or failed | Review and retry if needed |
Error | Description | Solution |
---|---|---|
INSUFFICIENT_BALANCE | Not enough funds in entity balance | Add funds to the entity balance |
INVALID_SIGNATURE | Signature verification failed | Ensure correct wallet is signing |
EXPIRED_TYPED_DATA | Typed data has expired | Request fresh typed data |
INVALID_RECIPIENT | Recipient address is invalid | Verify recipient nanoid exists |
TEAM_ROLE_SETTINGS_NOT_FOUND | User not properly configured in team | Check team role settings |