post https://openapi.sandbox.xenithpay.com/v1/payins
You can use this endpoint to create a Pay In request.
Responses
Callback
You can use this endpoint to create a Pay In request.
xxxxxxxxxx
25package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://openapi.sandbox.xenithpay.com/v1/payins"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("accept", "application/json")
req.Header.Add("content-type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}