Cards
get
Authorizations
Query parameters
limitintegerOptional
Number of results to return per page.
offsetintegerOptional
The initial index from which to return the results.
Responses
200Success
application/json
get
GET /api/give/cards HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Accept: */*
200Success
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100",
"results": [
{
"payment_method": "text"
}
]
}
post
Authorizations
Body
payment_methodstringOptional
Responses
201Success
application/json
post
POST /api/give/cards HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 25
{
"payment_method": "text"
}
201Success
{
"payment_method": "text"
}
get
Authorizations
Path parameters
idstring · uuidRequired
A UUID string identifying this card.
Responses
200Success
application/json
get
GET /api/give/cards/{id} HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Accept: */*
200Success
{
"payment_method": "text"
}
put
Authorizations
Path parameters
idstring · uuidRequired
A UUID string identifying this card.
Body
payment_methodstringOptional
Responses
200Success
application/json
put
PUT /api/give/cards/{id} HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 25
{
"payment_method": "text"
}
200Success
{
"payment_method": "text"
}
delete
Authorizations
Path parameters
idstring · uuidRequired
A UUID string identifying this card.
Responses
204
No response body
delete
DELETE /api/give/cards/{id} HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Accept: */*
204
No response body
No content
patch
Authorizations
Path parameters
idstring · uuidRequired
A UUID string identifying this card.
Body
payment_methodstringOptional
Responses
200Success
application/json
patch
PATCH /api/give/cards/{id} HTTP/1.1
Host: prosper-api-test.churchpad.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 25
{
"payment_method": "text"
}
200Success
{
"payment_method": "text"
}