Payments API documentation

Changelog

Last update:
Compare

API structure has changed

Modified 1 Breaking
POST /api/payments/cancel-payment
  • Response
  • 200 response Modified
    • paymentIdentifier attribute Modified
    • status, isComplete, createdDatetime, orderId, orderDescription attributes Added

API structure has changed

Modified 3 Breaking
POST /api/payments/create-payment
  • Body
  • content type Modified
    • usdAmount attribute Modified
  • Response
  • 200 response Modified
    • nanoAmount attribute Removed
    • rawNanoAmount, friendlyNanoAmount attributes Added
POST /api/payments/payment-status
  • Response
  • 200 response Modified
    • paymentIdentifier attribute Added
Webhook POST paymentConfirmation
  • Body
  • content type Modified
    • paymentIdentifier attribute Added
Added 3
GET /api/payments/supported
POST /api/payments/nano-to-usd
POST /api/payments/usd-to-nano

API structure has changed

Modified 1
POST /api/payments/create-payment
  • Body
  • content type Modified
    • paymentCustomer attribute Added

API structure has changed

Modified 1 Breaking
Webhook POST paymentConfirmation
  • Authentication
  • Webhook api key authentication method Removed
  • Ipn secret key authentication method Added

API structure has changed

Modified 1 Breaking
Webhook POST paymentConfirmation
  • Authentication
  • Basic auth authentication method Removed
  • Webhook api key authentication method Added

API structure has changed

Added 1
Webhook POST paymentConfirmation

API structure has changed

Removed 4 Breaking
GET /joke
POST /joke
POST /thumbsDown/{id}
POST /thumbsUp/{id}
Added 3
POST /api/payments/cancel-payment
POST /api/payments/create-payment
POST /api/payments/payment-status

API documentation has been created