Skip to main content

Get Payment

GET 

/v2/pwf/:bill_id/payment

An endpoint to get all payment transaction(s) from a specific bill link.

Request

Path Parameters

    bill_id stringrequired

    Flip’s bill link id

Query Parameters

    start_date string

    Starting date of the data. Example "2020-01-01"

    end_date string

    Ending date of the data. Example "2020-12-12". End date must be greater than start_date.

    pagination integer

    Pagination of the data.

    page integer

    The desired page of the data pagination.

    sort_by string

    Possible values: [id, bill_link, bill_title, sender_bank, amout, created_at]

    Sort the result by the attribute. You can sort by

    sort_type string

    Possible values: [sort_desc, sort_asc]

    You can sort in

Header Parameters

    Content-Type stringrequired

    Request content type application/x-www-form-urlencoded

Responses

Get Payment response

Schema

    link_id integer
    total_data integer
    data_per_page integer
    total_page integer
    page integer

    data

    object[]

  • Array [

  • id string
    link_id string
    bill_link string
    bill_title string
    sender_name string
    sender_bank string
    sender_bank_type string
    virtual_account_number string
    amount integer
    status string
    settlement_status string
    reference_id string
    payment_url string
    created_at string
    completed_at string
    settlement_date string
  • ]

Loading...