Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
230 lines (181 sloc) 4.62 KB

Client Forwarding Request Status ⇄ Creation


For clients only:

After submitting a forwarding request, you should check the status of the asynchronous forwarding job. It returns a JSON response, containing information about its status, including failure reasons in the case of a failure.

URL Parameters

Parameter Example Required Description
language en yes

The donation is marked with the language you use in your URL.

client_id some_client yes

The client permalink.

id 1337 yes

The ID of the forwarding request, returned within the response of a successful forwarding request POST.

Response Attributes

Root Attributes

Attribute Types Example Description
id number 1

An integer number ≥ 1

created_at string "1994-11-05T13:15:30Z"

DateTime (ISO8601 with Timezone)

updated_at string "1994-11-05T13:15:30Z"

DateTime (ISO8601 with Timezone)

confirmed_at undefined 2016-11-11T09:50:06+01:00

DateTime (ISO8601 with Timezone)

failed_at undefined 2016-11-11T09:50:06+01:00

DateTime (ISO8601 with Timezone)

state string "confirmed"

One of "pending", "confirmed" or "failed".

  • pending The system is still processing this donation. Please check again soon.
  • confirmed The donation is confirmed. This state is final.
  • failed The donation failed. Please check the failure_code. This state is final.
failure_code string pool_missing

A set of failure codes.
You could use this to choose follow up actions in your application. More details about each error are part of the failure_reason.

  • pool_missing No pool available
  • pool_empty Not enough money on the pool
  • receiver_prohibited_from_receiving_donations The forwarding request's receiver may not receive donations
  • donation_invalid Generic error, look at failure_reason for details
This list might be extended at any time. Please make sure you receive a notification if you encounter a new code. Codes will note be removed but might be depricated and not used anymore at some point in the future.
failure_reason string

A more detailed description of the failure.
This message is meant to be interpreted by a developer, not by a customer/user. The message might change at any time, don't use it to match actions based on the message string.

Response Links

Linkname Description


Link to the related donation (client donation details)

Response Example

  "id": 1,
  "created_at": "2017-03-17T10:12:08+01:00",
  "updated_at": "2017-03-17T10:12:09+01:00",
  "confirmed_at": "2017-03-17T10:12:09+01:00",
  "failed_at": null,
  "state": "confirmed",
  "failure_code": null,
  "failure_reason": null,
  "links": [
      "rel": "donation",
      "href": ""