# WELCOME TO PAY HERO KENYA'S SWIFT PAYMENT SERVICE API

You will need to create a business account with us using the following link: <https://payherokenya.com/sps/portal>

After creating an account you will log in to your account. Under the applications menu, you will find your account details like username, api\_key, account number, and callback URL. You will have to edit your details to provide your callback URL. This is where all payment notifications will be sent to.

By default we will assign you an account number, this will uniquely identify you when payments are made to you. If you wish to add another reference number to this eg invoice number if your clients pay you will have to attach it to your original account number like for example your assigned account number is 400200 and you want to attach an invoice number to it when a client makes payment assume invoice number is 1234. Your customer's account number will look like 400200-1234. We will send the reference number to your callback URL for your processing.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pay-hero-kenya.gitbook.io/swift-payment-service/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
