AMCS Group ExternalTransaction API

The ExternalTransaction API from AMCS Group — 12 operation(s) for externaltransaction.

OpenAPI Specification

amcs-group-externaltransaction-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: Core AccessGroup ExternalTransaction API
  version: core
tags:
- name: ExternalTransaction
paths:
  /ExternalTransaction/OneOff:
    post:
      tags:
      - ExternalTransaction
      summary: OneOff Payment
      description: "This endpoint is used to initiate a payment/tokenization request via the Provider's hosted payments page (HPP).\n\n## Request\n\n| Property                  | Description  |\r\n| ------------------------- | ------------------------------------------------------------------------|\r\n| RequestType                      |Request Type can be any of \"OneOffPayment\", \"Tokenization\".                            |\r\n| PaymentType               | Payment Type can be any of \"CARD\", \"ACH\", \"EFT\".                      |\r\n| TransactionOrigin                 | Transaction Origin can be any of \"MOTO\", \"ECOM\"        |\r\n| CallerIdentifier               | The Caller Identification associated to the Payment request.             |\r\n| RequestId               | The Caller supplied GUID associated to the Payment request.        |\r\n| ProviderType                   |Provide Type can be any of \"ACICards\", \"ACIElectronic\", \"Heartland\", \"MerchantPartners\",  \"Payment Express\", \"Realex\"        |\r\n| ConfigurationId                      |The configuration id associated to the Tenant.                            |\r\n| TransactionAmount                     |The amount associated to the payment request.        |\r\n| TransactionAmount.PrincipalAmount                     |The base amount associated to the payment request (This field is optional for Tokenization).        |\r\n| TransactionAmount.Currency                     |The currency associated to the payment request.        |\r\n| CanStoreProfile                         | The flag suggests store the profile to vault.        |\r\n| CompletionURL                         | The Completion URL Request associated to the customer mandate for webhooks.        |\r\n| RedirectURL                         | The Redirect URL associated to the customer mandate for redirection.        |\r\n| Addresses                         | The List of addresses associated to the customer mandate for 3ds transaction (Billing address is mandatory for 3ds enabled transaction).        |\r\n| Addresses[0].AddressType                         | The AddressType associated to the address can be any of \"Billing\", \"Shipping\".        |\r\n| Addresses[0].StreetAddress1                         | The StreetAddress Line1 associated to the address.        |\r\n| Addresses[0].StreetAddress2                         | The StreetAddress Line2 associated to the address.        |\r\n| Addresses[0].StreetAddress3                         | The StreetAddress Line3 associated to the address (Conditionally required).        |\r\n| Addresses[0].City                         | The City associated to the address.        |\r\n| Addresses[0].State                         | The State associated to the address.        |\r\n| Addresses[0].PostCode                         | The PostCode associated to the address.        |\r\n| Addresses[0].Country                         | The Country associated to the address.        |\r\n| Addresses[0].ISO3166Numeric                         | The ISO3166Numeric associated to the address (Conditionally required).        |\r\n| Contacts                         | The Contacts associated to the customer mandate for 3ds transaction (Contact type 'Mobile' and 'Email' are mandatory for 3ds enabled transaction).        |\r\n| Contacts[0].ContactType                         | The Contact Type associated to the contact can be any of type \"Email\", \"Mobile\".        |\r\n| Contacts[0].ContactValue                         | The Contact Value associated to the contact type.        |\r\n| CustomerInfo                         | The Details associated to the customer mandate for risk assessment (Conditionally required for making payments using ACI Cards).        |\r\n| CustomerInfo.CustomerName                         | The Customer Name associated to the customer.        |\r\n| CustomerInfo.CustomerId                         | The Customer Id associated to the customer.        |\r\n| CustomerInfo.CustomerIP                         | The Customer Ip associated to the customer.        |\r\n| CustomerInfo.CustomerStatus                         | The Customer Status associated to the customer.        |\r\n| CustomerInfo.WebsiteUrl                         | The Website Url associated to the customer.\n\n## Response\n\n| Property                  | Description  |\r\n| ------------------------- | ------------------------------------------------------------------------|\r\n| HppUrl                      | The Hosted Payment Page Url to load in a frame/browser.        |\r\n| CallerTransactionId               |  The AMCS generated Request GUID associated to the Payment request.                              |\r\n| TransactionAmount                     |The amount associated to the payment request.        |\r\n| TransactionAmount.PrincipalAmount                     |The base amount associated to the payment request (This field is optional for Tokenization).        |\r\n| TransactionAmount.Currency                     |The currency associated to the payment request.                              |\r\n| TransactionStatus                 | The Transaction Status associated to the Payment request."
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AMCSPayInitiatePaymentRequest'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayInitiatePaymentResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
        '401':
          description: Unauthorized
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
  /ExternalTransaction/ImmediateOneOff:
    post:
      tags:
      - ExternalTransaction
      summary: Immediate OneOff Payment
      description: "This endpoint is used to make an immediate payment/tokenization request.\n\n## Request\n\n| Property                  | Description  |\r\n| ------------------------- | ------------------------------------------------------------------------|\r\n| RequestType                      |Request Type can be any of \"OneOffPayment\", \"Tokenization\".                            |\r\n| PaymentType               | Payment Type can be any of \"ACH\", \"EFT\".                      |\r\n| CallerIdentifier               | The Caller Identification associated to the Payment request.             |\r\n| RequestId               | The Caller supplied GUID associated to the Payment request.        |\r\n| ProviderType                   |Provide Type can be \"EftCanada\"        |\r\n| ConfigurationId                      |The configuration id associated to the Tenant.                            |\r\n| TransactionAmount                     |The amount associated to the payment request.        |\r\n| TransactionAmount.PrincipalAmount                     |The base amount associated to the payment request (This field is optional for Tokenization).        |\r\n| TransactionAmount.Currency                     |The currency associated to the payment request.        |\r\n| Addresses                         | The List of addresses associated to the customer mandate for 3ds transaction (Billing address is mandatory for 3ds enabled transaction).        |\r\n| Addresses[0].AddressType                         | The AddressType associated to the address can be any of \"Billing\", \"Shipping\".        |\r\n| Addresses[0].StreetAddress1                         | The StreetAddress Line1 associated to the address.        |\r\n| Addresses[0].StreetAddress2                         | The StreetAddress Line2 associated to the address.        |\r\n| Addresses[0].StreetAddress3                         | The StreetAddress Line3 associated to the address (Conditionally required).        |\r\n| Addresses[0].City                         | The City associated to the address.        |\r\n| Addresses[0].State                         | The State associated to the address.        |\r\n| Addresses[0].PostCode                         | The PostCode associated to the address.        |\r\n| Addresses[0].Country                         | The Country associated to the address.        |\r\n| Addresses[0].ISO3166Numeric                         | The ISO3166Numeric associated to the address (Conditionally required).        |\r\n| Contacts                         | The Contacts associated to the customer mandate for 3ds transaction (Contact type 'Mobile' and 'Email' are mandatory for 3ds enabled transaction).        |\r\n| Contacts[0].ContactType                         | The Contact Type associated to the contact can be any of type \"Email\", \"Mobile\".        |\r\n| Contacts[0].ContactValue                         | The Contact Value associated to the contact type.        |\r\n| CustomerInfo                         | The Details associated to the customer mandate for risk assessment (Conditionally required for making payments using EftCanada).        |\r\n| CustomerInfo.CustomerName                         | The Customer Name associated to the customer(Conditionally required for making payments using EftCanada).        |\r\n| CustomerInfo.CustomerId                         | The Customer Id associated to the customer.        |\r\n| CustomerInfo.CustomerIP                         | The Customer Ip associated to the customer.        |\r\n| CustomerInfo.CustomerStatus                         | The Customer Status associated to the customer.        |\r\n| CustomerInfo.WebsiteUrl                         | The Website Url associated to the customer.        |\r\n| BankInfo                         | The Bank Info associated to the customer.        |\r\n| BankInfo.Ach                         | The Ach Bank Info associated to the customer (Required when Payment Type is ACH).        |\r\n| BankInfo.Ach.AccountNumber                         | The Ach Account Number associated to the customer.        |\r\n| BankInfo.Ach.AccountType                         | The Ach Account Type associated to the customer and could be one of \"PersonalSavings\", \"PersonalCheckings\", \"BusinessSavings\", \"BusinessCheckings\".        |\r\n| BankInfo.Ach.RoutingNumber                         | The Ach Routing Number associated to the customer.        |\r\n| BankInfo.Eft                         | The Eft Bank Info associated to the customer (Required when Payment Type is EFT).        |\r\n| BankInfo.Eft.AccountNumber                         | The Eft Account Number associated to the customer.        |\r\n| BankInfo.Eft.TransitNumber                         | The Eft Transit Number associated to the customer.        |\r\n| BankInfo.Eft.InstitutionNumber                         | The Eft Institution Number associated to the customer.\n\n## Response\n\n| Property                  | Description  |\r\n| ------------------------- | ------------------------------------------------------------------------|\r\n|CallerTransactionId | The AMCS generated Request GUID associated to the payments. |\n| AMCSPayReferenceId | The AMCS generated Response GUID associated to the Payment request. |\n| ProviderReference | The reference number associated to the payment provider. |\n| ProviderResponseCode | The response code associated to the payment provider. |\n| Notes | More information associated to the payment. |\n| ProviderAuthCode | The authorization code associated to the payment provider.  |\n| ResponseTimeStamp | The Timestamp of the payment response payload. |\n| TransactionStatus | The Transaction Status associated to the payment can be any of type \"Initiated\", \"Success\", \"Failure\", \"Timeout\", \"Cancelled\". |\n| TokenReference | The Token Reference sent by the provider associated to the original payment (Tokenisation Response). |\n| HistoryReference | The history reference data sent by the provider associated to the original payment (Tokenisation Response). |\n| MaskedProfileNumber | The Profile/Card Number sent by the provider associated to the original payment (Tokenisation Response) (Conditionally required). |\n| ProfileType | The Profile/Card Type sent by the provider associated to the original payment (Tokenisation Response). |\n| ProfileHolder | The Profile/Card Holder Name sent by the provider associated to the original payment (Tokenisation Response). |\r\n| TransactionAmount                     |The amount associated to the payment request.        |\r\n| TransactionAmount.PrincipalAmount                     |The base amount associated to the payment request (This field is optional for Tokenization).        |\r\n| TransactionAmount.Currency                     |The currency associated to the payment request.        |\r\n| ErrorCondition                     |The error condition associated to the payment request.    "
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AMCSPayImmediatePaymentRequest'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayPollPaymentResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
        '401':
          description: Unauthorized
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
  /ExternalTransaction/Poll:
    get:
      tags:
      - ExternalTransaction
      summary: Poll Payment
      description: "This endpoint is used to poll AmcsPay to ask for query transactions or to read the transaction response back to AmcsPay from the payment provider using CallerTransactionId or RequestId.\n\n## Request\n\n| **Property** | **Description** |\n| --- | --- |\n| CallerTransactionId | The AMCS generated Request GUID associated to the payments. |\n| RequestId | The Caller Supplied Request GUID associated to the payments. |\n\n## Response\n\n| **Property** | **Description** |\n| --- | --- |\n| CallerTransactionId | The AMCS generated Request GUID associated to the payments. |\n| AMCSPayReferenceId | The AMCS generated Response GUID associated to the Payment request. |\n| ProviderReference | The reference number associated to the payment provider. |\n| ProviderResponseCode | The response code associated to the payment provider. |\n| Notes | More information associated to the payment. |\n| ProviderAuthCode | The authorization code associated to the payment provider.  |\n| ResponseTimeStamp | The Timestamp of the payment response payload. |\n| TransactionStatus | The Transaction Status associated to the payment can be any of type \"Initiated\", \"Success\", \"Failure\", \"Timeout\", \"Cancelled\". |\n| TokenReference | The Token Reference sent by the provider associated to the original payment (Tokenisation Response). |\n| HistoryReference | The history reference data sent by the provider associated to the original payment (Tokenisation Response). |\n| MaskedProfileNumber | The Profile/Card Number sent by the provider associated to the original payment (Tokenisation Response) (Conditionally required). |\n| ProfileType | The Profile/Card Type sent by the provider associated to the original payment (Tokenisation Response). |\n| ProfileHolder | The Profile/Card Holder Name sent by the provider associated to the original payment (Tokenisation Response). |\n| ProfileExpiryDate | The Profile/Card expiry date sent by the  provider associated to the original payment in (MM/YY) format. |\r\n| TransactionAmount                     |The amount associated to the payment request.        |\r\n| TransactionAmount.PrincipalAmount                     |The base amount associated to the payment request (This field is optional for Tokenization).        |\r\n| TransactionAmount.Currency                     |The currency associated to the payment request.        |\r\n| ErrorCondition                     |The error condition associated to the payment request."
      parameters:
      - name: callerTransactionId
        in: query
        required: false
        schema:
          type: string
          format: uuid
          example: 827b7e68-2c52-43aa-9820-b02f006fa971
          description: Required for all payments.
      - name: requestId
        in: query
        required: false
        schema:
          type: string
          format: uuid
          example: 827b7e68-2c52-43aa-9820-b02f006fa971
          description: Required for terminal payments if a response is not received.
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayPollPaymentResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
        '401':
          description: Unauthorized
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
  /ExternalTransaction/Poll/GetAll:
    get:
      tags:
      - ExternalTransaction
      summary: Get All Payment Response Details
      description: This endpoint is used to get the payment transaction details based on the set filter criteria.
      parameters:
      - name: DateFrom
        in: query
        required: true
        schema:
          type: string
          format: dateTimeOffset
          example: '2023-06-28T06:46:32.910Z'
          description: Date From is the user input in W3C-DTF Date format [YYYY-MM-DDThh:mm:ss.sTZD]. It cannot be later than the current date.
      - name: DateTo
        in: query
        required: true
        schema:
          type: string
          format: dateTimeOffset
          example: '2023-06-28T07:00:00.000Z'
          description: Date To is the user input in W3C-DTF Date format [YYYY-MM-DDThh:mm:ss.sTZD]. It cannot be later than the current date or the date from value.
      - name: CustomerId
        in: query
        schema:
          type: string
          description: The customerId associated to the customer or the ARAccountCode account code used for Accounts Receivable.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AMCSPayPollGetAllPaymentResponse'
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AMCSPayPollGetAllPaymentResponse'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AMCSPayPollGetAllPaymentResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
        '401':
          description: Unauthorized
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
  /ExternalTransaction/Refund:
    post:
      tags:
      - ExternalTransaction
      summary: Refund Payment
      description: "This endpoint is used to request a refund for a Card/ACH payment already processed via AmcsPay.\n\n## Request\n\n| **Property** | **Description** |\n| --- | --- |\n| RequestType | Request Type is  \"Refund\". |\n| PaymentType | Payment Type can be any of \"CARD\", \"ACH\", \"EFT\", \"TERMINAL\".| \n| TransactionOrigin | For Refund, transaction origin can only be \"MOTO\". |\n| CallerIdentifier | The identification associated to the calling application.| \n| RequestId | The Caller supplied GUID associated to the Payment request.|\n| CallerIPAddress | The IP Address associated to the the customer's location.|\n| ProviderType | Provide Type can be any of \"ACICards\", \"ACIElectronic\", \"Heartland\", \"MerchantPartners\", \"Payment Express\", \"Realex\", \"EftCanada\", \"TerminalPay\", \"ElavonTerminalPay\".| \n| TransactionAmount | The amount subjected for refund.|\n| OriginalPaymentReference | The reference ID sent by the provider associated to the original payment being refunded.|\n| OriginalAmount | The original amount sent by the provider associated to the original payment being refunded. |\n| TokenValue | The Token value associated to the payment. |\n| ProfileExpiryDate | The Profile/Card expiry date sent by the provider associated to the original payment in (MM/YY) format. |\n| CustomerInfo | The customer details associated to the refund request. |\n\n## Response\n\n| **Property** | **Description** |\n| --- | --- |\n| AMCSPayReferenceId | The AMCS generated Response GUID associated to the Payment request. |\n| ProviderReference | The reference number associated to the payment provider response. |\n| ProviderResponseCode | The status code associated to the payment provider response. |\n| ProviderAuthCode | The authorization code associated to the payment provider. |\r\n| TransactionAmount                     |The amount associated to the payment request.        |\r\n| TransactionAmount.PrincipalAmount                     |The base amount associated to the payment request (This field is optional for Tokenization).        |\r\n| TransactionAmount.Currency                     |The currency associated to the payment request.    |\n| ResponseTimeStamp | The time stamp associated to the response payload. |\n| Notes | More information associated to the payment. |\n| TransactionStatus | The Transaction Status associated to the refund response can be any of type \"Initiated\" or \"Failure\". |\n| CustomerInfo | The customer details associated to the refund response. |"
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AMCSPayRefundRequest'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayRefundResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
        '401':
          description: Unauthorized
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
  /ExternalTransaction/Vault:
    post:
      tags:
      - ExternalTransaction
      summary: Vault Payment
      description: This endpoint is used to make a payment using the saved profile(Card / ACH) via AmcsPay.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AMCSPayVaultRequest'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayVaultResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
        '401':
          description: Unauthorized
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
  /ExternalTransaction/Terminal:
    post:
      tags:
      - ExternalTransaction
      summary: Terminal Payment
      description: 'This endpoint is used to make a card payment using a terminal device.


        ## Request


        | Property | Description |

        | --- | --- |

        | ProviderType | Provide Type can be any of "TerminalPay", and "ElavonTerminalPay". |

        | CallerIdentifier | The Caller Identification associated to the Payment request. |

        | RequestId | The Caller supplied Request GUID associated to the Payment request. |

        | TerminalId | The Terminal Id is the verifone terminal identity like a device serial number or a friendly name. |

        | TransactionAmount | The Amount associated to the payment request. |

        | TransactionAmount.PrincipalAmount | The Principal Amount associated to the payment request. |

        | TransactionAmount.Currency | The Currency associated to the payment request. |

        | CardEntryMode | The Card entry mode of the payment instrument information. |

        | EmailAddress | The e-mail address associated to the payment requestor. |


        ## Response


        | **Property** | **Description** |

        | --- | --- |

        | TransactionStatus | The Transaction Status associated to the payment can be any of type "Success", "Failure", "Partial". For Partial, Check the device if payment is processed, Poll it. |

        | AMCSPayReferenceId | The AMCS generated response GUID associated to the Payment request. |

        | ProviderReference | The reference number associated to the payment provider. |

        | ProviderResponseCode | The response code associated to the payment provider. |

        | ProviderAuthCode | The authorization code associated to the payment provider. |

        | TokenValue | The Token value associated to the payment. |

        | ResponseTimeStamp | The Timestamp of the payment response payload. |

        | Notes | More information associated to the payment transaction. |

        | TransactionAmount | The Amount associated to the payment response. |

        | TransactionAmount.PrincipalAmount | The Principal Amount associated to the payment response. |

        | TransactionAmount.Currency | The Currency associated to the payment response. |

        | MaskedProfileNumber | The Profile/Card Number sent by the provider associated to the original payment. |

        | ProfileHolder | The Profile/Card Holder Name sent by the provider associated to the original payment. |

        | ProfileExpiryDate | The Profile/Card expiry date sent by the  provider associated to the original payment in (MM/YY) format. |

        | CallerTransactionId | The AMCS generated Request GUID associated to the hosted payments page. |

        | ErrorCondition                     |The error condition associated to the payment request. |'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AMCSPayTerminalRequest'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayTerminalResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
        '401':
          description: Unauthorized
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
  /ExternalTransaction/TerminalAbort:
    post:
      tags:
      - ExternalTransaction
      summary: Terminal Payment Abort
      description: 'This endpoint is a signal used to abort a card payment requested using a terminal device.


        ## Request


        | Property | Description |

        | --- | --- |

        | ProviderType | Provide Type can be any of "ElavonTerminalPay" and "TerminalPay". |

        | CallerIdentifier | The Caller Identification associated to the Payment request. |

        | RequestId | The Caller supplied Request GUID associated to the Payment request. |

        | RequestType | Request Type is "Abort". |

        | TerminalId | The Terminal Id is the verifone terminal device serial number. |

        | EmailAddress | The e-mail address associated to the abort request. |

        | Reason | The reason associated to the abort request is conditionally required. |'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AMCSPayTerminalAbortRequest'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayInfoResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
        '401':
          description: Unauthorized
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
  /ExternalTransaction/DeleteToken:
    post:
      tags:
      - ExternalTransaction
      summary: Delete Token
      description: This endpoint is used to delete Card Tokens from the vault for both AMCS Pay and Payment provider gateway.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AMCSPayDeleteProfileRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/AMCSPayDeleteProfileRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/AMCSPayDeleteProfileRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayDeleteProfileResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/AMCSPayDeleteProfileResponse'
            application/*+json:
              schema:
                $ref: '#/components/schemas/AMCSPayDeleteProfileResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
        '401':
          description: Unauthorized
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
  /ExternalTransaction/GetServiceFee:
    post:
      tags:
      - ExternalTransaction
      summary: Get ServiceFee
      description: This endpoint is used to get the service fee.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AMCSPayGetServiceFeeRequest'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayGetServiceFeeResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AMCSPayErrorResponse'
        '401':
          description: Unauthorized
        '500':
          des

# --- truncated at 32 KB (83 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/amcs-group/refs/heads/main/openapi/amcs-group-externaltransaction-api-openapi.yml