348
edits
m (→the nbf field) |
No edit summary |
||
| Line 89: | Line 89: | ||
=== Interaction with the <tt>verify</tt> URL === | === Interaction with the <tt>verify</tt> URL === | ||
If the <tt>verify</tt> URL is present, the receiving party may verify it by issuing a | If the <tt>verify</tt> URL is present, the receiving party may verify it by issuing a POST request to it, where the message body contains the complete receipt. The return value of this request is a JSON object with fields: | ||
* <tt>status</tt>: A string, containing one of the values "ok", "pending", "refunded", or "invalid". | * <tt>status</tt>: A string, containing one of the values "ok", "pending", "refunded", or "invalid". | ||
Application-level authentication on the verifyURL request is not strictly required, as the possession of a receipt proves that the application is already part of a trusted message flow. | |||
Applications are free to re-query the verifyURL field as often as they see fit; whether this is a one-time or an every-time interaction, or something in between, is up to the application implementor to decide. | |||
== References == | == References == | ||
edits