Closed gopher-hole closed 3 years ago
POST https://api.commerce.coinbase.com/charges HTTP/1.1 Host: api.commerce.coinbase.com User-Agent: coinbase-http-client Content-Length: 128 Content-Type: applicaton/json X-Cc-Api-Key: 2226376d-53a4-484a-a838-99f960a6a432 X-Cc-Version: 2018-03-22 Accept-Encoding: gzip
{"name":"Test Charge","description":"Test Charge","pricing_type":"fixed_price","local_price":{"amount":"5.00","currency":"USD"}}
HTTP/1.1 400 Bad Request Date: Fri, 23 Apr 2021 12:38:10 GMT Content-Type: application/json; charset=utf-8 Content-Length: 89 Connection: keep-alive Set-Cookie: __cfduid=d5f077d3f3511407e9e76f02c6bb67b8d1619181490; expires=Sun, 23-May-21 12:38:10 GMT; path=/; domain=.commerce.coinbase.com; HttpOnly; SameSite=Lax Cache-Control: no-cache Vary: Cookie, Origin X-Content-Type-Options: nosniff X-Frame-Options: deny X-Request-Id: 0e9650a7-28a1-414c-8bcb-cca572bd228b CF-Cache-Status: DYNAMIC cf-request-id: 09a055e9a20000615f568dd000000001 Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" Server: cloudflare CF-RAY: 644725bc3b3c615f-ORD
{"error":{"type":"invalid_request","message":"Required parameter missing: pricing_type"}}
Request
POST https://api.commerce.coinbase.com/charges HTTP/1.1 Host: api.commerce.coinbase.com User-Agent: coinbase-http-client Content-Length: 128 Content-Type: applicaton/json X-Cc-Api-Key: 2226376d-53a4-484a-a838-99f960a6a432 X-Cc-Version: 2018-03-22 Accept-Encoding: gzip
{"name":"Test Charge","description":"Test Charge","pricing_type":"fixed_price","local_price":{"amount":"5.00","currency":"USD"}}
Response
HTTP/1.1 400 Bad Request Date: Fri, 23 Apr 2021 12:38:10 GMT Content-Type: application/json; charset=utf-8 Content-Length: 89 Connection: keep-alive Set-Cookie: __cfduid=d5f077d3f3511407e9e76f02c6bb67b8d1619181490; expires=Sun, 23-May-21 12:38:10 GMT; path=/; domain=.commerce.coinbase.com; HttpOnly; SameSite=Lax Cache-Control: no-cache Vary: Cookie, Origin X-Content-Type-Options: nosniff X-Frame-Options: deny X-Request-Id: 0e9650a7-28a1-414c-8bcb-cca572bd228b CF-Cache-Status: DYNAMIC cf-request-id: 09a055e9a20000615f568dd000000001 Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" Server: cloudflare CF-RAY: 644725bc3b3c615f-ORD
{"error":{"type":"invalid_request","message":"Required parameter missing: pricing_type"}}