Flashpay API
  1. Payments
Flashpay API
  • Quick Start
    • Overview
    • Configuring the Server
    • Integrating Flashpay in Your Frontend 
  • Payments
    • New payment intent
      POST
    • List payments by merchant id
      GET
    • Payment details by payment ID
      GET
    • Payment details by destination account
      GET
  1. Payments

Payment details by destination account

GET
/api/v1/payment/recent/{destinationAccount}
Returns the full details of an existing payment that you've created. Simply supply the destination account number of the payment we returned when the payment was created.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://example.com/api/v1/payment/recent/'

Responses

🟢200Success
application/json
Body

Example
{"id":"szokiqnitlsqbi1g1fp9vhwo","amount":1080000,"ownerId":"k235v1ujhhnpwv0zmyk4by6t","currency":"NGN","reference":"somerandomreferenceforwatch2","originBankId":null,"originAccount":null,"originAccountName":null,"destinationBankId":"dqv8ldz5mk4eu7ykcvrr8g84","destinationAccount":"1234ABCXXX","destinationAccountName":"Alphabets Inc","description":"Watch purchase","status":"OPEN","callbackUrl":"https://pay.flashpayweb.com","statusWebhook":null,"createdAt":"2024-06-24T16:09:59.085Z","updatedAt":null,"expiresAt":null}
Modified at 2025-07-28 21:24:08
Previous
Payment details by payment ID
Built with