GatewayPay Documentation
    GatewayPay Documentation
    • GatewayPay API Documentation
    • Authentication
    • Callbacks
    • Testing
    • Domains and IP Addresses
    • Account
      • Get Account profile details
        GET
      • Get Account balances
        GET
      • Get Account payment options
        GET
    • H2H flow
      • Status List
      • Create Payment Invoice
        POST
      • Send Card Data to the Gateway
        POST
      • Full List of Payment Services
        GET
      • Get Service Data by ID
        GET
      • Check Status of Payment Invoice by ID
        GET
      • Get list of Payment Invoices
        GET
    • Refunds
      • Refund
        POST
    • Cards Whitelist API
      • JSON
        POST
      • CSV
        POST
    • APM - Deposits
      • Bank Transfers - Turkey
        POST
    • APM - Payouts
      • Bank Transfers - Turkey (Invoice Initiation)
        POST
      • Bank Transfers - Turkey (Invoice processing)
        POST

    Authentication

    📄 Authentication#

    API Access
    Private API

    API Access#

    GatewayPay API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.

    Private API#

    Address: {{BASE_API_URL}} (Base API host is issued by the manager before integration beginning)
    Use the Account ID as Login (Username) and API key as Password.
    Credentials will be provided by the manager
    BasicAuth Standard: Authorization = Basic base64(username:password)
    curl -X POST \
        {{BASE_API_URL}}/payment-invoices \
        -H 'Accept: */*' \
        -H 'Authorization: Basic Y29tYV92VDZMRFUwVHhPeG1iT290OkJlTlZRQ2hLcFV2RUxac3gwVmVpbnRaUmNlSmFWSWdrZVY2N1NvOVB0Wnc=' \
        -d '{...}'
    Modified at 2024-10-09 16:35:24
    Previous
    GatewayPay API Documentation
    Next
    Callbacks
    Built with