Skip to content

Add createSep31DirectPayment function #89

@MissBlue00

Description

@MissBlue00

Task

Add a createSep31DirectPayment function to implement SEP-31 direct payments.

Details

  • Function signature: createSep31DirectPayment(params: DirectPaymentParams): Promise<DirectPaymentResult>
  • Implement Stellar SEP-31 direct payment flow
  • Handle sender and receiver KYC via SEP-12
  • Include original transaction reference
  • Add DirectPaymentParams and DirectPaymentResult interfaces
  • Integration point: anchor-service package

Test

Run pnpm --filter @stellar-pay/anchor-service build to verify no TypeScript errors.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions