Billing and delivery statuses
Endpoint URL
Client has to provide URLWorkflow
1. myPAY sends Status as HTTP/S GET request2. Client responses OK
Sequence Diagram
1. Status HTTP/S GET request
| GET parameter | Required | Type | Description |
|---|---|---|---|
id_mtsms |
required | int32 | ID of MT SMS from client |
status |
required | char | Billing/delivery status |
hash |
required | string(40) | Hex (lowercase) encoded SHA1 HMAC from (id_mtsms + status). |
| Status codes | ||
|---|---|---|
| Code | Description | Next statuses |
D |
Billed AND delivered | --- |
S |
Billed | D or U |
E |
NOT billed AND NOT delivered | --- |
U |
NOT delivered | --- |
2.1 Response
OK
2.2 Error response
ERROR
| Response | Description |
|---|---|
OK |
HTTP 200 with response OK. Status received. |
ERROR |
Request will be repeated again in 1 minute |
| All other responses has to be handled as ERROR with unknown code |